The -Search command tag allows a query to be performed in a database table and the results returned.
The database and table for the search action should be specified using the -Database and -Table command tags. Additional name/value parameters specify the arguments which will be used to define the search within the database table.
[Inline: -Search,
-Database='Database_Name',
-Table='Table_Name', ...]
Use an [Inline] tag with a -Search command tag. The following example finds records with First_Name equal to John within the People table of the Contacts database.
[Inline: -Search,
-Database='Contacts',
-Table='People',
-KeyField='ID'
'First_Name'='John']
[Records]
<br>[Field: 'First_Name'] [Field: 'Last_Name']
[/Records]
[/Inline]
<br>John Doe
<br>John Person
Tag Link | -Search | Category | Action |
---|---|---|---|
Type | Command | Data Source | Any |
Support | Preferred | Version | 3.0 |
Output Type | None | Security | Database,Classic |
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 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft