Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Access
3rdpartyusrgrp
access
activexcontrol
adp.sqlserver
commandbarsui
conversion
dataaccess.pages
developers.toolkitode
devtoolkits
externaldata
forms
formscoding
gettingstarted
internet
interopoledde
macros
modulescoding
modulesdaovba
modulesdaovba.ado
multiuser
odbcclientsvr
queries
replication
reports
security
setupconfig
tablesdbdesign
  
 
date: Mon, 6 Oct 2008 16:13:00 -0700,    group: microsoft.public.access.queries        back       


My string length is too long   
I am trying to output a query which in turn will feed a data file (xml) to an 
exernal app; but the overall field length on some records exceeds 255 
characters in some records, and replaces the onerous chracters with a square 
character.

I really must keep each field line intact so that the xml parser will read 
it, and... to enable me to avoid going cross-eyed at the thought of wading 
through tons of metatags on multiple lines.

what are my options, if any?
date: Mon, 6 Oct 2008 16:13:00 -0700   author:   efandango

Re: My string length is too long   
well you can set the field in access to memo rather than text is this
what you are looking for

Regards
Kelvan
date: Mon, 6 Oct 2008 17:26:14 -0700 (PDT)   author:   Lord Kelvan

RE: My string length is too long   
If the issue is just getting a query to include all the characters, one way 
to prevent a query from truncating at 255 characters is to SELECT FIRST on 
that field instead of just SELECT

This: SELECT First(MyMemoField) FROM MyTable

Instead of this: SELECT MyMemoField FROM MyTable

I cannot remember why, but I'm sure one of the MVP's has the reason (and 
probably a better answer to your question, as well).

"efandango" wrote:

> I am trying to output a query which in turn will feed a data file (xml) to an 
> exernal app; but the overall field length on some records exceeds 255 
> characters in some records, and replaces the onerous chracters with a square 
> character.
> 
> I really must keep each field line intact so that the xml parser will read 
> it, and... to enable me to avoid going cross-eyed at the thought of wading 
> through tons of metatags on multiple lines.
> 
> what are my options, if any?
> 
>
date: Mon, 6 Oct 2008 17:36:00 -0700   author:   Brian

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us