Lasso Soft Inc. > Home

[ Database_Name ]

Method

[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.

  • Syntax
Database_Name
Examples
  • Beginner

To return the name of the database being used for the current 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.

Code

Inline(-Database='Contacts', -Table='People', -FindAll)
     'The database '+Database_Name+' is being searched.'
/Inline

Recent Comments

No Comments found

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. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft