General information
Category:
Forms & Form designer
Title:
Valid routine testin for empty.
I am creating a text box which need data entry to be valid, in the valid rmethod I have placed the following:
IF EMPTY(THIS.value)
=MESSAGEBOX(NOTEMPTY_LOC, ;
MB_ICONINFORMATION ,;
TRACERV_LOC)
RETURN .F.
ENDIF
This reacts fine but I also have a search "cmdButton1" which when pressed fires the valid routine. I have tried to place a "thisform.cmdButton1.keypress()" ahead of this but this allways equates to .T. Is there a way to activate the search button click routine before the valid routine fires?
TIA, Brian Machtolff
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only