info("proceduredatabase")

The info(“proceduredatabase”) function returns the name of the database that contains the currently running procedure.


Description

This function returns the name of the database that contains the currently running procedure, even if that database is not the currently active database. This can happen when farcall is used to invoke the procedure, or if the procedure is a custom statement.

This example opens the Help Window form in the database that contains the procedure, even if a window from another database is currently on top.

window info("proceduredatabase")+":SECRET"
openform "Help Window"

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0