[fpc-pascal] Dataset.Locate and memo

silvioprog silvioprog at gmail.com
Tue Jul 2 15:33:52 CEST 2013


I'm trying to locate a record using the "Locate" method, but it return an

*An unhandled exception occurred at $00433517:
*EDatabaseError: Field "myfield" has an invalid field type (Memo) to base
index o*
*  $00433517*
*  $00446181*
*  $00449D0D*
*  $004017FC  main,  line 29 of test.lpr*

Atttached a small sample to reproduce it.

Is SQLdb able to locate records in field of memo type?

Thank you!

Silvio Cl├ęcio
My public projects - github.com/silvioprog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130702/b5b53ee9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sqldb_memo.zip
Type: application/zip
Size: 1833 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130702/b5b53ee9/attachment.zip>

More information about the fpc-pascal mailing list