Lasso Soft Inc. > Home

[Lasso_DatasourceModuleName]

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

The returned value will usually be one of "InternalMySQLDS" for the built in Lasso MySQL, "MySQLDS" for an external MySQL installation, or "FMRemoteDataSource" for a FileMaker Pro data source.

  • 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 FMRemoteDataSource
<br>People.fp5 FMRemoteDataSource
<br>Contacts InternalMySQLDS
<br>Lasso_Admin InternalMySQLDS
<br>Lasso_Internal InternalMySQLDS
<br>Site InternalMySQLDS

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.fp5 is being served by [Lasso_DatasourceModuleName].
Result:
<br>Contacts is being served by FMRemoteDataSource.
Tag Link [Lasso_DatasourceModuleName] Category Admin
Type Substitution Data Source Any
Support Preferred Version 3.0
Output Type String Security None
Implementation LCAPI Sets Lasso 7.0, Lasso 6.0, 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 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft