>I wonder if someone can help me with a seemingly simple problem. How does one reference a property from form1 while in form2 in an application generated by foxpro? I used a line such as: form1.refresh
>It works when I do it in "interactive" mode, but when I compile and run the application, form2 does not "see" form1. Thank you!
>Frank
Frank, you can do it through the _screen.forms(n) collection - like _screen.forms(1).caption but better way is to run your form with NAME clause like:
DO form myForm NAME customers
then you can refer its properties as: customers.caption
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison