Home | Advertising Info4 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, March 14, 2025  
 
 


 
ASPProtect
User Management Application with web based screens that allow you to manage users.
www.ASPProtect.com
 
ASPBanner
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
www.ASPBanner.com
 
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
www.ASPPhotoGallery.com
 
ASPClassifieds
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.
www.ASPClassifieds.com



DISCUSSION ARCHIVES
 



We didn't realize
the site was so popular.

Other Stuff
 

 
 
Active Server Pages ASP ASP.NET .aspx .ascx Web HTML Developer Internet Microsoft Web Services Visual Studio .NET CJWSoft ASPProtect ASPBanner ASPClassifieds



(Advanced)  (Components)  (Database)  (General)  (Vbscript)




ASPProtect

 
Subject: Can you actually retrieve MEMO fields from MS Access 97 DB via ASP?
From: Fielding Johnson
Date: 8/9/1999 10:22:47 PM
IP: 204.151.245.2



 

Am I going crazy or is it really true that you cannot retrieve MEMO type fields from
MS Access 97 databases via ADO/OLE-DB using Active Server Pages.

I am executing a simple ADO Recordset statement:
(ADescription is the MEMO field name whose portion is to be used as part of a
a drop-down box for a form.)

Code:

Set oRS = Server.CreateObject("ADODB.recordset")
oRS.OPEN "Select Ticket_Num, Customer_ID, Received, ADescription, Status from HDTickets where Status = OPEN", "DSN=HDTickets"
If Not (oRS.BOF And oRS.EOF) then
oRS.MoveFirst
Do While Not oRS.EOF
tDisp = oRS("Ticket_Num") & "     "
tDisp = tDisp & lcase(oRS("Customer_ID"))
for idx = 1 to (10 - len(oRS("Customer_ID")))
tDisp = tDisp & " "
next
tDisp = tDisp & oRS("Received") & "     "
tDes = CStr(oRS("ADescription"))
If Not IsNull(tDes) then
If len(tDes) < 50 then
for idx = 1 to (50 - len(tDes))
tDes = tDes & " "
next
Else
tDes = Mid(tDes, 1, 50)
End If
Else
tDes = Space(50)
End If
Response.Write "<option value=""" & tTickNum & """>" & tDisp & "</option>" & Chr(13) & Chr(10)
oRS.MoveNext
Loop
End If
oRs.Close

I have tried everything including renaming the field within the database in case the field name
contained a reserved word (field name was originally Call_Description).

HELP!

P.S. I cant return to large text fields because some of my memos are already 2 thousand characters long.

Fielding Johnson
johnsf@fincen.treas.gov

Follow Up - Re: Can you actually retrieve MEMO fields from MS Access 97 DB via ASP? - Andy 8/10/1999 8:50:51 AM


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2025 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages asp search engine active server page asp application components tutorial CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com