>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
You can pass a parameter to the form when you call it, and then in the form's init, store the parameter to a form property.
DO FORM myForm WITH "Menu" && Or DO FORM myForm WITH "Form"
and then in form.init:
LPARA tcCalledFrom
THISFORM.CalledFrom = tcCalledFrom
Erik Moore
Clientelligence