Validate Routine (OpenInsight)
At 24 AUG 2000 02:53:33PM Steve Botes wrote:
I don't seem to be able to get this to work….anyone have any suggestions.
It is on a lostfocus event
Invalue=Get_Property(@Window:'.SS','TEXT')
Set_Status(0)
Validate(Invalue, "9N")
If Get_Status(Status_Codes) Then
data okayEnd Else
ErrEnd
No matter what is in Invalue a Status of 0 is returned which is an error according to the documentation.
At 24 AUG 2000 03:58PM Hank Huizinga wrote:
Try this
Call Validate(Invalue, "9N")
IF Status() THEN
errorEND ELSE
no errorEND
At 25 AUG 2000 11:59AM Steve Botes wrote:
Thanks Hank, I will give it a try.