>Is there a way to grab the value of a textbox from a form called form1 in myform.scx form a prg? I keep getting 'object form1 is not found'
>In the prg I say :
>do form myform name form1 linked
>?form1.text1.value
>I could be missing something simple but have no idea.
The variable the Form is linked to should be Public.
PUBLIC frmTest
DO FORM Form1 NAME frmTest LINKED
Now you should be able to reference Form1 as frmTest
(i.e. frmTest.txtData.Value)
Thanks,
Patrick
Senior Analyst/Programmer
Lexington, KY
(Basketball, Bourbon & Horses... What Else Matters?)