LassoScript Utility
Basics Browse Detail


Tag Link -Table Category Database
Type Command Source Available No
Support Preferred Version 3.0
Change Unchanged Data Source ODBC Specific
Output Type None Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0, Lasso 3.x


-Table specifies the name of the table which should be used for a database action. Synonym is -Layout.

The value specified for this command tag can be retrieved using the [Table_Name] tag.


[Inline: -Table='Table_Name', ...]

<a href="default.lasso?-Table=Table_Name&...">Link</a>

<form action="default.lasso" method="POST">
  <input type="hidden" name="-Table" value="Table_Name">


Required Parameters
Table_Name The name of the table which should be used.


To specify what table to use in a database action:

Use the -Table command tag. The following example specifies a -Search action in [Inline] ... [/Inline] tags. The table People of the database Contacts is specified using a -Table command tag within the parameters of the opening [Inline] tag.

[Inline: -Search,
    <br>[Field: 'First_Name'] [Field: 'Last_Name']

<br>John Doe
<br>John Surname