Hello,
I would like to use the main VFP-form to use for myMenu. I've got a main.prg that first calls the login procedure, when that's done it should call the main VFP form with myMenu.
But when I do this I get an error when I call myMenu.
Error:
Invalid subscript reference
MyMain.prg
&& ...Declaring things like the oSettings Object
&& Log the user in to the system
DO FORM oSettings.getMapForm() + "loginBack"
&& After logged in, Activate the myMenu.mpr in the main VFP window
DO oSettings.getMapOther() + "mnuHoofd.mpr"
&& When the user ends the program by using the menu File - Close
QUIT
What am I doing wrong here? Should it be done on an other way?
Thanks,
Charl
I would like to use the main VFP-form to use for myMenu. I've got a main.prg that first calls the login procedure, when that's done it should call the main VFP form with myMenu.
But when I do this I get an error when I call myMenu.
Error:
Invalid subscript reference
MyMain.prg
&& ...Declaring things like the oSettings Object
&& Log the user in to the system
DO FORM oSettings.getMapForm() + "loginBack"
&& After logged in, Activate the myMenu.mpr in the main VFP window
DO oSettings.getMapOther() + "mnuHoofd.mpr"
&& When the user ends the program by using the menu File - Close
QUIT
What am I doing wrong here? Should it be done on an other way?
Thanks,
Charl