>>>>You can avoid these problems using something better defined and scoped:
>>>>DO FORM myform NAME oApp.myform LINKED
>>>>Now you can always refer to this form from any place of your application e.g. oApp.Myform.Caption="...."
>>>
>>>So...
>>>
>>>oApp is my application object, right?
>>>Then do I have to make 'myform' a property of oApp?
>>
>>Yes
>>
>>>That didn't work either...
>>
>>It always works. Did you use 'LINKED'?
>
>I'm using:
>DO FORM billrec WITH .F., sbill_link NAME goApp.billrec LINKED
>
>Then for testing I'm checking the TYPE in the INIT event of 'billrec'
>
>When 'billrec' is a property of goApp, it stays Logical
>When 'billrec' is NOT a property, it shows as undefined?
>
>Does it possibly not come into existence until AFTER the INIT?
>I don't think so...Like I said, my first use of this syntax works fine!
>
>Any more ideas?
>
>Thanx
It will be object in Form.Activate event, so you can use it there.
Edward Pikman
Independent Consultant