Lasso Soft Inc. > Home

[ column_name ]

Method

[Column_Name] returns the name of a field in the current database and table. A number parameter returns the name of the field in that position within the current table. Other parameters are described below. Synonym is [Field_Name].

  • Syntax
column_Name(count)
column_Name(field index)
Examples
  • Beginner

To return a list of all fields in a table:

Use the [Column_Name] tag. The following example uses a -Show action in an inline to return information about the People table of the Contacts database. The [Column_Name] tag is used in [Loop] ... [/Loop] tags to return the names of the fields.

Code

inline(-Database='Contacts', -Table='People', -Show)
     Loop(column_name(count))
          column_name(loop_count)
     /Loop
/Inline

Recent Comments

No Comments found

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