If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > access 2000 memo fields and asp

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-08-02, 07:44
ppa ppa is offline
Registered User
 
Join Date: Oct 2002
Posts: 1
access 2000 memo fields and asp

I have a site using asp pages and an access 2000 database.
I do the following query:

<%
function getProductPage()
Set Connection = GetConnection
objRecordset = "SELECT ProductName, Title, ContentGlance, FunctionGlance, Application, LinkedProduct, subscriptionOptions, Trial, USA, Brochure, ProductDescription, ProductDescriptionNL, " &_
"IIf (Len (ProductOverview.ProductDescriptionNL) > 0 , ProductOverview.ProductDescriptionNL, ProductOverview.ProductDescription) as ProductDescription " &_
"FROM ProductOverview " & _
"WHERE ProductOverview.ProductName='" & productItem & "'"
Set objRecordset = Connection.Execute (objRecordset)
End function
%>

Performing the query in access works well. Instead, from the asp page, it only displays the first 255 caracters of the memo field ProductDescriptionNL and not the entire content.

Does anyone know a solution to avoid this?

Thanks.

Pietro
Reply With Quote
  #2 (permalink)  
Old 10-31-02, 23:23
Bunce Bunce is offline
Registered User
 
Join Date: Jul 2002
Location: Australia
Posts: 147
Place the memo field LAST in your select statement.

If that doesn't work look into the APPENDCHUNK method. (I think..)

Cheers,
Andrew
__________________
There have been many posts made throughout the world.
This was one of them.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On