Sergey,
Thanks that worked perfectly. In fact I just needed to use .Show instead of .Visible
Thanks Again.
Aloha,
James
>Try
>loSelectFields = NewObject("frmSelectFields", "DCMisc", "","DeaultTable")
>loSelectFields.Show(1)
>
>
>>
>>I have a field selection class that I want to call from a form. Except the class shows and then disappears. What is that all about.
>>
>>Here's the code:
>>
>>loSelectFields = NewObject("frmSelectFields", "DCMisc", "","DeaultTable")
>>loSelectFields.Visible =.T.
>>
>>
>>How do I make it stick around so that I can select the fields?
>>
>>Thanks in advance.
>>
>>Aloha,
>>
>>James