>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.
Folowing is not the best, but 100% proof method:
For nLoop=1 to _screen.FormCount
If _screen.Forms(nLoop).Name="Form1" && I hope you use unique form names
=messagebox("Found: "+_screen.Forms(nLoop).Text1.Value)
Endif
Endfor
Edward Pikman
Independent Consultant