>I have 2 forms. Form1 and Form2. Form2 can be called from form1 or directly from the main menu. Inside Form2, can I know if it was called from form1 or from the main menu? Thanks
Alejandro, you can set some object property or variable, say
CalledFromForm1 = .t.
before calling the Form2 from Form1, so you will see how it was called. I would make it an application object property.
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