Lasso Soft Inc. > Home

[Records_Array]

The [Records_Array] tag returns all of the records in the current found set as an array of arrays. The outer array contains one element for each record in the found set. Each element is itself an array that contains one element for each field in the record.

The [Field_Names] tag can be used to return an array of field names which map to the array returned for each record. The [Records_Array] tag returns exactly the same data as the [Records] ... [/Records] and [Field] tags but in a more convenient form for iterating or other data processing.

  • Syntax
  • Parameters
[Inline: ... ]
  [Records_Array]
[/Inline]

[Iterate: (Records_Array), (Variable: 'Temp_Record')]
  

[Iterate: $Temp_Record, (Variable: 'Temp_Field')]
[Output: $Temp_Field] [/Iterate]

[/Iterate]
Examples

See the Lasso 8 Language Guide for examples of how to use this tag. This tag is documented on page 125.

Tag Link [Records_Array] Category Database
Type Substitution Data Source Any
Support Preferred Version 7.0
Output Type Array Security Tag
Implementation LCAPI Sets Lasso 7.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 2014 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft