06-17-2008 11:02 PM
I have 3 variables in the program.
I need to do the validation and check if any of those 3 fields are blank.
If any one of the variables does not have data, I have to stop processing rest of the program.
Can someone tell me how to do that?
06-17-2008 11:04 PM
IF var1 is initial or
var2 is initial or
var3 is initial.
stop.
endif.
or put a message error....
IF var1 is initial or
var2 is initial or
var3 is initial.
message e208(00) with 'erro in process'.
endif.
06-17-2008 11:04 PM
IF var1 is initial or
var2 is initial or
var3 is initial.
stop.
endif.
or put a message error....
IF var1 is initial or
var2 is initial or
var3 is initial.
message e208(00) with 'erro in process'.
endif.