Robert
  Do the following in an eep for each button. The number you assign is 
associated with what database you want to goto.
 
  Hope this helps
 
Buddy
 
 
**************Each Database Button EEP*****************
  SET VAR vWhatDatabase INTEGER = 1
  CLOSEWINDOW
  RETURN
********************************************************
 
*********************Quit Button EEP*************
  SET VAR vWhatDatabase INTEGER = 99
  CLOSEWINDOW
  RETURN
******************************************
 
****************Initial RMD File****************************
  CONN MainMenu
  CLE ALL VAR
  SET VAR vWhatDatabase INTEGER = 99
  EDIT USI MainMenuData .....
 
  IF vWhatDatabase = 99 THEN
   GOTO Done
  ENDIF
 
 IF vWhatDatabase = 1 THEN
   O:
   CD \myDatabases\MyNumber1
   QUIT TO MainMenu1.RMD
 ENDIF
 
 IF vWhatDatabase = 2 THEN
  O:
  CD \myDatabases\MyNumber2
  QUIT TO MainMenu2.RMD
ENDIF
 
LABEL Done
   DISC 
   EXIT
***********************End Initial RMD File*****************************
 
 

________________________________

From: [email protected] on behalf of Robert Rugilo
Sent: Tue 11/8/2005 7:14 PM
To: RBG7-L Mailing List
Subject: [RBG7-L] - Dumb Question



I decided to make a menu with Rbase, each button will connect to a different
database and start a program for that particular database.



Of course (duh) I must close the window (of the menu database) and start the
next program so it will bring the main menu for that program, so I tried to
use the Quit command, of course it did not work.



I know is a simple way of doing it, but today my brain is on-hold waiting
for who knows what.



Any Ideas ?





Robert



<<winmail.dat>>

Reply via email to