Barry,

DmQueryRecord doesn't prevent anything. It just doesn't set the busy bit. You'll need to allocate another handle and StrCopy the text from the DB handle to the other handle and then call FldSetTextHandle with that new handle. Otherwise you're letting the field directly modify the text in the DB handle.

At least that's my understanding...

Dana

Barry Jaques wrote:

Only thing is the damm thing edits the memo, even though I changed the code from
read/write to read only.

Also I read somewhere that DmQueryRecord would not enable the app to write to
the database but it is in fact doing just that and for the life of me I just
cant see a way to prevent this happening.


Barry





--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to