-SortRandom sorts returned records randomly. Is used in place of the -SortField and -SortOrder parameters. Does not require a value.
[Inline: -Search, -SortRandom, ...]
[Inline: -FindAll, -SortRandom, ...]
This example sorts records found in a search in a random order.
[Inline: -Findall, -Database='Contacts', -Table='People', -Keyfield='ID',-SortRandom]
[Records]
[Field:'ID']
[/Records]
[/Inline]
2 5 8 9 3 1 6 7 4
Tag Link | -SortRandom | Category | Database |
---|---|---|---|
Type | Command | Data Source | MySQL |
Support | Preferred | Version | 6.0 |
Output Type | None | Security | None |
Implementation | LCAPI | Sets | Lasso 7.0, Lasso 6.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 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft