NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on April 17, 2013, 03:10:22 AM
-
Hi,
I´m setting a field in the Set Queue Record:
tablas{prop:sql}='yadayadayada....'
next(TABLAS)
IF TAB:CLAVE=0 or TAB:FUNCION=0
Cumplido = 'OK'
else
Cumplido = 'Pendiente'
end
Cumplido is a Local Variable that is populated in the browse itself.
In the validate embed I add:
IF Cumplido='OK'
CYCLE
END
This works ok for all records exept the first one.
The first record in the browse is allways there.
Do I need to validate it in another embed too?
Thanks
-
SetQueueRecord and ValidateRecord are not "related".
the system can call just one of them - or both, or in some case both in a reverse order.
So do all the validation you need in ValidateRecord, and all the Queue setting you need in SetQueueRecord.
cheers
Bruce