NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Matthew on April 26, 2011, 11:39:37 PM
-
Hello
How to skip a record during filing browse in embed: 3.Inside Browse Loop -> 2. Set Queue Record?
I would like to skip record based on value in some field of that record. For example I have filter like LOC:ID = USER:ID which will give me only that records and additional I would like to skip some record for example where USER:Age < 30.
I had instruction IF USER:Age < 30 THEN CYCLE in that embed but it doesn't work.
Please help.
Regards,
Matthew
-
Hallo Matthew,
Try in ValidateRecord embed it should work.
IF USER:Age < 30 THEN CYCLE .
Robert
-
Yes, Robert is right, use the ValidateRecord embed point.
Also make sure to add USER:Age to the View (by adding it to the Hot Fields list).
Of course for something this simple it's a lot better to add it directly into the filter statement.
Cheers
Bruce