>sorry, I meant valid and lostfocus
At valid's method there is a data's level validation (for it fields)..
For lostfocus we have the object's level validation.. All the next setfocus can be nicely used here..
I always have found here this dialog between them.. (per instance of course)
VALID - huumm let me see.. the data criteria match with some others on the disk
VALID - The check digit is properly inputed
VALID - The number of digits match..
VALID - oops.. but theres 5 not 9 digits so I will set the thisform.specialflag to 1
LOSTFOCUS - is thisform.specialflag = 1.. Goto text1..
LOSTFOCUS - is thisform.specialflag = 2.. Goto text2..
LOSTFOCUS - is thisform.specialflag = 3.. Goto text3..
HTH
Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20