Web Development
Discussion Locked
0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have been working on an asp page for our intranet that grabs data from an Access database. One of the fields that I want to display is an Access 97 memo field. For some reason the field's contents don't show when I list out the data. However when I change it to a text field it shows up. What am I unaware of?
3 replies
by esadacca
Two things...
First, the Memo field should be the last field in your query; eg. SELECT TEXTFIELD, MEMOFIELD FROM TABLE
Second, ASP can read the Memo field only once. So, store the Memo value in a variable; eg. strMemoField = objRst.fields("Memo")
by cswearingen
This was the perfect answer!
I had to move the field to be the last field in the table (as my SQL SELECT Statement was SELECT *). But I moved it down to be the last thing in the returned data, assigned it to a variable and it worked like a charm.
Thanks much!
Christopher
by cswearingen
This question was closed by the author
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending
1 helpful
13 replies
0 helpful
3 replies
1 helpful
4 replies
0 helpful
0 replies
0 helpful
0 replies