Hi all,
Is it possible to use the TESTFIELD function in an OR condition.
For e.g:
IF Mode<> 'C' THEN BEGIN
IF (NOT ((Number='')) OR (Comments='')) OR
(NOT ((Comments='')) OR ("Number"='')) THEN
ERROR('Either Number or Comments should be filled');
END;
I want to validate if either the field Number or Comments have been input.
Thanks
Liizz
0
Comments
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
The condition is an OR one.
I have tried it before with an OR, and it is verifying if both conditions are being satisfied.
Liizz
if yes, use my code..
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
The condition is to check both the values are not blank.
Manish
Read the initial post carefully
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
I got you.. Sorry its my mistake.
We are checking only if both fields are blank.
Thanks
Liizz