Memo Questions

ken white kenwhite at verizon.net
Wed Mar 5 09:41:32 PST 2008


How do I quickly initialize a memo field with a value?

I.E.

::kx=""{memfld{""       'determine if the memo field is empty - casts kx as 
edit(*).
:kx="":ky="The quick brown fox jumped over the tree.";memfld=""{ky{""  'if 
so fill it:
::memo memfld edit ("1","10","6","70") nowrap:

Produces garbage in the memo field.



The second issue I am experiencing with memos is the behavior of filepro 
record locking.  I believe that this issue has been mentioned on the list 
before, but I do not believe it was answered.

::lookup xxx = somememofile k=ky i=a -nx:
:not xxx:return:
::memo xxx(2) show   'this causes the record in somememofile to be locked:

The lock is released when the memo show command completes.   I do not 
understand the need for the lock.



More information about the Filepro-list mailing list