---+ .SELECT DATABASE _This subroutine switches to the specified database._ <br />%TOC% ---++ Usage: <pre> PASS <database> FIELD SHARE? N GOSUB --- .SELECT DATABASE * Check for errors IF --- .SELECT DATABASE NE </pre> ---++ 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._ <br />%COMMENT% -- Main.JeanNeron - 2012-02-02
This topic: Main
>
WebHome
>
APPX510Features
>
APPXRuntimeSubroutineAPI
>
0LASubrAppSelectDatabase
Topic revision: r1 - 2012-02-02 - JeanNeron
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback