Lasso Soft Inc. > Home

-Layout

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

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

  • Syntax
  • Parameters
[Inline: -Layout='Layout_Name', ...]

<a href="default.lasso?-Layout=Layout_Name&...">Link</a>

<form action="default.lasso" method="POST">
  <input type="hidden" name="-Layout" value="Layout_Name">
  ...
</form>
Required Parameters
Layout_Name The name of the table/layout which should be used for a database action.
Examples

To specify what table to use in a database action:

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

[Inline: -Search,
    -Database='Contacts',
    -Layout='People',
    'First_Name'='John']
  [Records]
    <br>[Field: 'First_Name'] [Field: 'Last_Name']
  [/Records]
[/Inline]
Result:
<br>John Doe
<br>John Surname
Tag Link -Layout Category Database
Type Command Data Source FMP
Support Synonym Version 2.5
Output Type None Security None
Implementation LCAPI Sets Lasso 7.0, Lasso 6.0, Lasso 5.0,LDML3x,LDML25

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