General information
Category:
Forms & Form designer
What occurs here is that an object is created with no exposed methods and one collection. Each item in the collection represents a field which can be referenced as oRecord.xxxxx where xxxxx is the same as the relative field name. When changes are to be saved you may "Gather name oRecord memo".
The exact syntax from the VFP help file is:
GATHER FROM ArrayName | MEMVAR | NAME ObjectName
[FIELDS FieldList | FIELDS LIKE Skeleton | FIELDS EXCEPT Skeleton]
[MEMO]
This technique does not require memory variables other than the object reference.
Glenn
>>An even more elegant method would be as follows
>>
>>PUBLIC oRecord
>>SCATTER NAME oRecord MEMO
>>
>>Glenn
>
>er... how that work then?
>
>Harry
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only