Lasso Soft Inc. > Home

[Error_ColumnRestriction]

[Error_ColumnRestriction] returns the error code or error message associated with an error where the current user does not have permission to access a column in the current database action.

The value of this tag can compared against an error generated by Lasso or can be used to report an error.

  • Syntax
  • Parameters
[Error_ColumnRestriction] [Error_ColumnRestriction: -ErrorCode]

[If: (Error_ColumnRestriction) == (Error_CurrentError)] ... [/If]

[Error_SetErrorMessage: (Error_ColumnRestriction)]
[Error_SetErrorCode: (Error_ColumnRestriction: -ErrorCode)]
Examples

To check whether the current error was a column restriction error:

Compare the [Error_CurrentError] tag with the [Error_ColumnRestriction] tag. If they match then a column restrriction error has occured.

[If: (Error_ColumnRestriction) == (Error_CurrentError)]
  <br>A column restrriction error has occurred.
[/If]
Result:
<br>A column restrriction error has occurred.
Tag Link [Error_ColumnRestriction] Category Error
Type Substitution Data Source Any
Support Synonym Version 5.0
Output Type String or Integer Security None
Implementation LCAPI Sets Lasso 7.0, Lasso 6.0, Lasso 5.0

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