The "login" will also be an option in the menu in the main window.
I defined a modal window before a Main window but I get a syntax error at compilation.
I also tried this:
Code: Select all
DEFINE WINDOW MainForm ;
AT 0, 0 ;
WIDTH 750 ;
HEIGHT 700 ;
MAIN ;
TITLE 'HMMGC System'
DEFINE WINDOW fmGetDate ;
OF MainForm ;
@ 30, 30 ;
WIDTH 100 ;
HEIGHT 100 ;
TITLE "Enter Period End Date" ;
MODAL
@ 50, 50 DATEPICKER dpDate ;
VALUE date()
END WINDOW
DEFINE MAIN MENU
...
END WINDOW
But I'm afraid with this construct, "login" will always be called after every loop.
My intention is a mandatory call to the login only at program start. After which it will be an option in the menu.
Can't find samples of this sort or maybe I just don't know where to search.
Thanks for any advice on how to implement this.