Lasso Soft Inc. > Home

[Error_NoRecordsFound]

This tag returns the error message or error code for "No Records" found. See the change notes below for details about the preferred method of checking whether any records were found.

  • Syntax
  • Parameters
[If: (Found_Count) == 0] 
  No Records Found
[/If]
Optional Parameters
-ErrorCode If specified the error code is returned. Otherwise the error message is returned.
Examples

To check whether the current action returned no results:

Check the value of the [Found_Count] from the current database action. If [Found_Count] equals 0 then no records were found.

[If: (Found_Count) == 0]
  <br>A no records found error has occurred.
[/If]
Result:
<br>A no records found error has occurred.
Tag Link [Error_NoRecordsFound] Category Error
Type Substitution Data Source Any
Support Deprecated Version 3.0
Output Type String or Integer Security None
Implementation Internal 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. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft