‎2007 Nov 16 1:30 PM
‎2007 Nov 16 1:37 PM
Syed,
if act eq 'd' AND act eq 'l'.
if not name is initial AND num is initial.
* perform
Else.
endif.
endif.Regards
Aneesh.
‎2007 Nov 16 1:40 PM
I can't understand how the field act can equal both 'd' and 'l'. If you want either 'd' or 'l' you would use;
if ( act eq 'd' OR act eq 'l' )
AND name is not initial
AND num is not initial.
perform
Else.
endif.
Regards,
Nick
‎2007 Nov 16 1:40 PM
Hi,
if act eq 'd' AND act eq 'l' => this is impossible... a field can't store 2 different values at the same time...
Regards,
Nicolas.
‎2007 Nov 16 1:40 PM
You'll never get into the if part because act cannot be 'd' and 'I' at the same time which it has to be in your code.
Do you mean:
IF ( act eq 'd' or act eq 'I' ) AND name is not initial AND num is not initial.
Regards,
Michael
‎2007 Nov 16 1:41 PM
Hi.
Try this..
If ( Act = 'D' or Act = 'I' ) And Name NE ' ' And Num NE ' '
Perform***
Else.
Endif..
Regards
Bala.
‎2007 Nov 16 1:43 PM
Hi syed chekc this...
if ( act eq 'd' OR act eq 'l' ) AND
( name is not initial ) AND
( num is not initial ).
* perform
Else.
endif.
"Do not remove your question as you did in earlier posts....
‎2007 Nov 16 3:09 PM
‎2007 Nov 16 3:14 PM
Hi Syed,
do like this
if act eq 'd' or act eq 'l' .
if not name is initial AND not num is initial.
* perform
else.
* do some thing
endif.
endif.Regards,
Satish