- Code: Select all
for ( var i = 0 ; i < curFoundSet ; i++ )
{
if (forms[curForm].con_no_usps == 'yes')
{
forms[curForm].controller.omitRecord()
}
else
{
forms[curForm].controller.setSelectedIndex(i +1)
}
}
For what it is worth, this is how it is done in FileMaker:
- Code: Select all
Loop
If[contacts:con_no_usps = "yes"]
Omit Record
Else
Go to Record/Request/Page [Next; Exit after last]
End If
End Loop
Any pointers would be appreciated!
Thanks,
Jim