Lasso Soft Inc. > Home

[Database_Name]

[Database_Name] returns the name of the current database.

If this tag is called within [Inline] ... [/Inline] tags, it returns the name of the database which is specified in the parameters of the opening [Inline] tag. If this tag is used in the response page to a URL or HTML form based Lasso action then this tag returns the database named in the parameters of the action.

  • Syntax
  • Parameters
[Database_Name]
Optional Parameters
Encoding Keyword Specifies the encoding for the tag's return value. Tags are encoded using -EncodeHTML by default if their value is output on a format file. No encoding is applied to nested tags unless an explicity encoding keyword is specified. One of -EncodeBreak, -EncodeHTML, -EncodeNone, -EncodeRaw, -EncodeSmart, -EncodeStrictURL, -EncodeURL, -EncodeXML.
Examples

To return the name of the database being used for the current action:

Use the [Databse_Name] tag. The following example simply displays the name of the database being searched in [Inline] ... [/Inline] tags to the visitor.

[Inline: -Database='Contacts', -Table='People', -FindAll]
  <br>The database [Database_Name] is being searched.
[/Inline]
Result:
The database Contacts is being searched.
Tag Link [Database_Name] Category Database
Type Substitution Data Source Any
Support Preferred Version 2.0
Output Type String Security None
Implementation Sets Lasso 5.0,LDML3x,LDML25,LDML20

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