Thanks Hilmar,
If I am using lostfocus to validate. And condition is not tru than my cursor not staying in same filed. if i write. Thisform.text1.setfocus
its giving error cannot call from valid,when,rangelow range hign. while i am using this line in lost focus I an not using any four method. How can cursor stay in same file if i use lostfocus. Please write actual code.
Thanks & best regards,
Sajjad
>Hi,
>
>1. on Combo if I press enter key without changing value showing in combo not validating while UP arrow key or down arrow key or mouse selection validating ...how can I put my valid statement to validate direct through enter ket without changing default value in combo.
>
>Please help
Valid() only fires if the value changes. LostFocus() fires every time you leave the control.
HTH, Hilmar.
Sajjad Ahmad