Lasso Soft Inc. > Home

[ KeyField_Name ]

Method

[KeyField_Name] returns the name of the current key field.

If this method is called within an [Inline] ... [/Inline] method, it returns the name of the key field which is specified in the parameters of the opening [Inline] params. If this method is used in the response page to a URL or HTML form based Lasso action then this method returns the key field named in the parameters of the action.

  • Syntax
KeyField_Name
Examples
  • Beginner

To return the name of the key field being used for the current action:

Use the [KeyField_Name] method. The following example simply displays the name of the key field used to the visitor.

Code

Inline(-Database='Contacts', -Table='People', -KeyField='ID', -FindAll)
     'The current key field is  '+KeyField_Name+'.'
/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