[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.
KeyField_Name
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
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
Recent Comments