Help needed: reading access 2000 memo fields

Help needed: reading access 2000 memo fields

Post by Karl Francis Horva » Fri, 13 Apr 2001 11:19:49

Which JDBC resultset method do I use to retrieve the data from an Access 2000
memo field ?

rs.getString(n) results in an "out of memory error" and getClob(n) also results
in an error. How do I access such a potentially large field ? under
ASP/Vbscript it's fairly transparent as it's just read as text, but with JDBC I
am having problems.

thanks in advance,
remove the nojunk to email me.


1. Need help accessing Paradox memo fields as TMemos

How can I read the text from a Paradox Memo field? I need to read several
memo fields (from different records in the same table) into several
TMemo variables (created at run time) on the same form. (TDBMemo is not
useful in this case). The memo field contents may be of any length.

Having added the proper TTable object to my form, and added the Paradox
Memo field to my fields list as a TMemoField, I am unable to access the
contents of the memo field.

The TMemofield property Astring yields (Memo) which is of no use.

The Tmemofield property Text yields (Memo), and seems generally
useless as it holds a max of 255 chars in a TMemo.

I have also tried to use the Tmemofield GetData method as follows...

var Buffer: PChar;

if not MemoField.GetData(Buffer) then
  MessageDlg('TMemofield is NULL', mtInformation, [mbOK], 0)
    { do something with Buffer }

...but the GetData method gives a GPF (Operation not Applicable)

(I also tried it with an untyped pointer, with the same result)

This seems like a very common type of data access. What should I be doing?

Thanks, in advance.


2. Does IT matter?

3. need help opening a two field index with VB6 using access 2000

4. Putting a picture in Access using vb code

5. Importing Access memo fields to SQL Server 2000

6. What is GetCollect?

7. Access 2000 memo type fields don't display on my ASP pages

8. Invalid URL

9. Problem with reading Access memo field contents from adOpenForwardOnly recordset

10. OLE DB - Reading Memo fields from Access

11. Help: Reading Memo field to a string with line feeds

12. Reading MEMO Fields: HELP!

13. HELP!!! Need help with FoxPro memo fields