|
|
|
LOOPVIEW
Syntax: #LOOPVIEW view {Commands}
Loops through the records in the current view and executes the commands. If View is present, it is a string list whose first item is the name of the View to query. The option second item of the list is the name of the Database to query.
LOOPVIEW Example
#LOOPVIEW {#SHOW &Name}
Loops through the current view and displays the Name of each record
#LOOPVIEW Weapons {#SHOW &Name,&Hit,&Dam}
Loops through the records in the Weapons view and displays the Name, Hit, and Dam fields |
User comments |
calesta: Fri Dec 12, 2008 11:01 pm |
|
The command list actually has to be a string parameter, so to loop through the current view you would do
Code: |
#loopview "#show Location &Location" |
It's supposed to be able to take a view parameter still, but I can't figure out the syntax for that. |
|
|
Mixsel: Sat Apr 28, 2012 5:53 am |
|
OMG, I have been fighting this for days, how long does it take to get a correction? jeez 4 years? come on, is this why i can't get half of the database commands to work?
parsing errors, that according to the 'help files' should work. |
|
|
|