>>>Hi everybody,
>>>
>>>Is there any trick to access fields from
>>>
>>>scatter name loRecord
>>>
>>>as a collection?
>>>
>>>Thanks in advance.
>>
>>What type of a trick you need? It is as simple as loRecord.FieldName. If you think fieldName as a collection key then you simply use the key itself as property:) For looping you could simply use amembers().
>>Cetin
>
>Yes, I wanted something like
>
>for each loField in loRecord.Fields
>
>I guess the only way is to use amembers().
Alternately
for i=1 to fcount()
luValue=getpem(loRecord, field(i))
endfor