[Error_NoRecordsFound] returns the error code or error message associated with a -Search, -Random, or -FindAll database action returning no records.
The value of this tag can be compared against an error generated by Lasso or can be used to report an error.
[Error_NoRecordsFound] [Error_NoRecordsFound: -ErrorCode]
[If: (Error_NoRecordsFound) == (Error_CurrentError)] ... [/If]
[Error_SetErrorMessage: (Error_NoRecordsFound)]
[Error_SetErrorCode: (Error_NoRecordsFound: -ErrorCode)]
Compare the [Error_CurrentError] tag with the [Error_NoRecordsFound] tag. If they match then a no records found error has occured.
[If: (Error_NoRecordsFound) == (Error_CurrentError)]
<br>A no records found error has occurred.
[/If]
<br>A no records found error has occurred.
Tag Link | [Error_NoRecordsFound] | Category | Error |
---|---|---|---|
Type | Substitution | Data Source | Any |
Support | Preferred | Version | 3.0 |
Output Type | String or Integer | Security | None |
Implementation | Sets | Lasso 5.0,LDML3x |
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