>>>
>>>What about
>>>
>>>Thisform.AddProperty("oProp", "Empty")
>>>SELECT mytable
>>>SCATER NAME Thisform.oProp
>>>
>>
>>Do I understand correctly that what you refer to as "mytable" can be a cursor, right? Also, with the approach above, will each column/field of the table/cursor be a property of oProp? That is, will I be accessing the values by
thisform.oProp.field1?
>
>Yes.
Thank you, Sergey. The only thing I have to watch with your approach is to set .oProp to .NULL. in the form unload, in order to avoid dangling references. With form properties and arrays, nothing has to be done when the form is closed. But your approach is interesting.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham