.SELECT DATABASE
This subroutine switches to the specified database.
Usage:
PASS <database> FIELD SHARE? N
GOSUB --- .SELECT DATABASE
* Check for errors
IF --- .SELECT DATABASE NE
Description:
This subroutine switches to the specified database. A single parameter is required, if it is missing the subroutine will CANCEL.
<database> contains the Database ID you want to switch to (Required).
This new database then becomes the current database for any subsequent child processing.
For example, you could use this to change databases in the Pre-invocation event point of an Optional Child on a menu, and that Optional Child will execute using the new database. Note that all further processing will be in the new database, even after you return to the menu. If you want to return to the original database after executing the child, call this subroutine again in the Post-Invocation event point of the Optional Child, PASSing it the original Database ID.
Comments:
Read what other users have said about this page or add your own comments.
--
JeanNeron - 2012-02-02