VBFOXDEV35
Programmer
All:
Here is a simple for question. I have 2 forms, a password verification form, which is called from the main program menu bar. And a data entry form. Once the user logs in, I want the password form to release and then have the data entry form to load. What is the easiest way to go about this?
I have tried to DO FORM "form_name" to variable but one cannot do that from within the form.
Also if I try to do this as a procedure:
FUNCTION OpenForm
PARAMETERS strNewForm
IF strNewForm <> " " THEN
DO FORM &strNewForm.
ELSE
RETURN
ENDIF
RETURN
but the user can then go to another form after they leave form two.
Any ideas?
Thanks all
Art
Art DeGaetano II
Software Developer, MOUS
Here is a simple for question. I have 2 forms, a password verification form, which is called from the main program menu bar. And a data entry form. Once the user logs in, I want the password form to release and then have the data entry form to load. What is the easiest way to go about this?
I have tried to DO FORM "form_name" to variable but one cannot do that from within the form.
Also if I try to do this as a procedure:
FUNCTION OpenForm
PARAMETERS strNewForm
IF strNewForm <> " " THEN
DO FORM &strNewForm.
ELSE
RETURN
ENDIF
RETURN
but the user can then go to another form after they leave form two.
Any ideas?
Thanks all
Art
Art DeGaetano II
Software Developer, MOUS