Re: How can I convert text field to memo field in a query
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Thu, 9 Oct 2008 06:27:53 -0400
I am presuming that it displays correctly when you open the query in Access?
If so, could you show us a typical result that displays correctly in Access
but incorrectly in Wordpad (have you tried Notepad instead?)?
efandango wrote:
Bon,
this is the string I am trying to output:
KML_Address: "<Placemark><name>" & [Venue] & " (List" & [List_No] &
")" & " </name><address>" & [Address] & ", " & [Postcode] &
"</address><description>" & " LOL:" & [LBy1] & "<br>" & " LOR:" &
[LBy2] & "</br><br>" & " LOL:" & [LBy3] & "</br><br> LOR:" & [LBy4] &
"</br>" & "</description></Placemark>"
but when I open up the text in wordpad, near to the end (in varying
lengths), I get a sequence of characters like this: ????????????????
I'm a bit green at this, so perhaps, it is not max chars issue, but I
don't know how to resolve it.
"Bob Barrows [MVP]" wrote:
efandango wrote:
I have a one table query with a user defined memo field.
Address:
how can I convert this field from a text field to a memo so that the
output can handle more than 255 characters?
Could you show an example where the output is limited to 255
characters?
An expression should not be limited to 255 characters. For example:
SELECT len([Expr1]) from (
SELECT String(300,"a") AS Expr1
FROM [TableContainingOneRecord])
returns 300 for me. I'm not clear why any conversion is necessary,
unless you are storing the data or displaying it in some control
that is limited to 255 characters.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get
a quicker response by posting to the newsgroup.
--
Microsoft MVP - ASP/ASP.NET - 2004-2007
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
.
- References:
- How can I convert text field to memo field in a query
- From: efandango
- Re: How can I convert text field to memo field in a query
- From: Bob Barrows [MVP]
- Re: How can I convert text field to memo field in a query
- From: efandango
- How can I convert text field to memo field in a query
- Prev by Date: Re: How can I convert text field to memo field in a query
- Next by Date: Re: Query Too Complex, Too many Characters?
- Previous by thread: Re: How can I convert text field to memo field in a query
- Next by thread: Re: How can I convert text field to memo field in a query
- Index(es):
Relevant Pages
|