Lasso Soft Inc. > Home

[Lasso_DatasourceModuleName]

[Lasso_DatasourceModuleName] returns the name of the Lasso database connector that hosts a specified database.

  • Syntax
  • Parameters
[Lasso_DatasourceModuleName: 'Database Name']
Required Parameters
Database Name The name of the database for which the module name should be returned.
Examples

To list all of the databases available through Lasso with their associated data source:

Use the [Lasso_DatasourceModuleName] tag to display the data source used by each database listed by the [Database_Names] ... [/Database_Names] container tag.

[Database_Names]
  <br>[Database_NameItem]
  [Lasso_DatasourceModuleName: (Database_NameItem)]
[/Database_Names]
Result:
<br>Contacts.fp5 FileMakerPro
<br>People.fp5 FileMakerPro
<br>Contacts LassoMySQL
<br>Lasso_Admin LassoMySQL
<br>Lasso_Internal LassoMySQL
<br>Site LassoMySQL
<br>MySQL MySQL

To check what data source a database is being served by:

Use the [Lasso_DatasourceModuleName] tag. The following example displays what data source is being used to serve the Contacts database.

<br>Contacts is being served by [Lasso_DatasourceModuleName].
Result:
<br>Contacts is being served by Lasso MySQL.
Tag Link [Lasso_DatasourceModuleName] Category Admin
Type Substitution Data Source Any
Support Preferred Version 3.0
Output Type String Security None
Implementation Sets Lasso 5.0,LDML3x

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 2014 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft