Lasso Soft Inc. > Home

[ Lasso_CurrentAction ]

Method

[Lasso_CurrentAction] returns the current database action which is being performed. If no database action is being performed then the string Nothing is returned.

This tag can be used within the [Inline] ... [/Inline] tags that perform a database action or on a format file which is the response to an HTML form or URL that performs a database action. This method cannot be used within [Records] ... [/Records] methods that reference a named inline.

  • Syntax
Lasso_CurrentAction
Examples
  • Beginner

To return the current database action:

Use the [Lasso_CurrentAction] method. The following [Inline] ... [/Inline] methods perform a search in the People table of the Contacts database for all records and return the name of the action perfomed.

Code

Inline(-FindAll, -Database='Contacts', -Table='People', -KeyField='ID')
     'The action was '+Lasso_CurrentAction+'.'
/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