ThisForm. seems to work
thanks
>Try prefixing with something like
>
>THIS.lblBruce
>THISFORM.lblBruce
>_SCREEN.frmBruce.lblBruce
>
>A good way to find out how to reference an object is to put a SET STEP ON and take a look at the objects that exists and then you can see how to reference them.
>
>Depending on the situation...
>>EMERGENCY EMERGENCY
>>
>>Just created a ton of forms, they work PERFECT in development, but when I try to access the name of the forms in RUNTIME the objects are not seen!!!
>>
>>( And I have to ship this thing tonight, of course )
>>
>>ie: running this script:
>>* QuarterYearEnd.Init
>>IF m_gps_dyn <> 'GPS'
>> QuarterYearEnd.lblSysDate.Visible = .f.
>> QuarterYearEnd.txtSysDate.Visible = .f.
>> QuarterYearEnd.txtSysDate.ReadOnly = .f.
>>ENDIF
>>
>>It says object QuarterYearEnd is not found!
>>
>>Thanks in advance
>>
>>Bruce Strom
Bruce Strom
Prayer of St Ephrem:
O Lord and Master of My Life,
Take from me the spirit of sloth, meddling, ambition and vain talk.
But give me a spirit of prudence, humility, patience and love.
Yes Lord and King grant me to see my own sins and faults
and not judge my brother.
For You are Blessed Forever and Ever. Amen.