[Database_Name] returns the name of the current database.
If this method is called within [Inline] ... [/Inline] methods, it returns the name of the database which is specified in the parameters of the opening [Inline] method. If this metod is used in the response page to a URL or HTML form based Lasso action then this method returns the database named in the parameters of the action.
Use the [Database_Name] method. The following example simply displays the name of the database being searched in [Inline] ... [/Inline] methods to the visitor.
Inline(-Database='Contacts', -Table='People', -FindAll) 'The database '+Database_Name+' is being searched.' /Inline
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft