H
Hugh Welford
Hi ... using WIN XP/ FP 2000/ IIS.
I need to be able to retieve variable length (>255 characters) messages
which have been saved in a memo field in an access data base on the server.
I am using the following code to test this : -
<%
set objconn = server.createobject ("ADODB.connection")
set objrec = server.createobject ("ADODB.recordset")
objconn.open "DSN=daters"
strsql = "SELECT DISTINCT messages.* FROM messages WHERE messid = 305 ;"
objrec.open strsql, objconn, adopenforwardonly, adlockoptimistic,adcmdtext
%>
<%=objrec("text")%>
The message is found and retrieved but truncated to 255 characters as if it
were an ACCESS text field not a memo field.
The message which is originally user created on another page, writes in full
to the ACCESS memo field. Also, if I download the data, and retrieve the
message offline via an ACCESS form, it displays fully. Seems then like an
ADO issue in retrieving memo fields (probably my syntax???) - any ideas
please???
Getting desperate
Thanks Hugh
I need to be able to retieve variable length (>255 characters) messages
which have been saved in a memo field in an access data base on the server.
I am using the following code to test this : -
<%
set objconn = server.createobject ("ADODB.connection")
set objrec = server.createobject ("ADODB.recordset")
objconn.open "DSN=daters"
strsql = "SELECT DISTINCT messages.* FROM messages WHERE messid = 305 ;"
objrec.open strsql, objconn, adopenforwardonly, adlockoptimistic,adcmdtext
%>
<%=objrec("text")%>
The message is found and retrieved but truncated to 255 characters as if it
were an ACCESS text field not a memo field.
The message which is originally user created on another page, writes in full
to the ACCESS memo field. Also, if I download the data, and retrieve the
message offline via an ACCESS form, it displays fully. Seems then like an
ADO issue in retrieving memo fields (probably my syntax???) - any ideas
please???
Getting desperate
Thanks Hugh