2010 Jan 21 6:41 PM
If
ELSEIF ((rcust[] is not initial) "Customer # Range
OR (rdate[] is not initial) "Creation Date Range
OR (rvkorg[] is not initial) "Sales Organizatiopn
OR (rspart[] is not initial) "Division
OR (rktagr[] is not initial) "Reason code Range
OR (rktaer[] is not initial) "Outcomme Code Range
OR (rktaeb[] is not initial) "Analysis Code range
OR (rernam[] is not initial) "Created by
OR (rktaar[] is not initial)) "Activity typeselect *
**********
**********
**********
else
*******
endif.
It says incorrect logical expression;
when i change it to this
ELSEIF (rcust[] is not initial) "Customer # Range
OR (rdate[] is not initial) "Creation Date Range
OR (rvkorg[] is not initial) "Sales Organizatiopn
OR (rspart[] is not initial) "Division
OR (rktagr[] is not initial) "Reason code Range
OR (rktaer[] is not initial) "Outcomme Code Range
OR (rktaeb[] is not initial) "Analysis Code range
OR (rernam[] is not initial) "Created by
OR (rktaar[] is not initial) "Activity typeIt says cannot have more than one line in a logical expression.
***************************************
I just want to check that none of these values coming from select options are blank, before I trigger the code
If
ELSEIF ((rcust[] is not initial) "Customer # Range
OR (rdate[] is not initial) "Creation Date Range
OR (rvkorg[] is not initial) "Sales Organizatiopn
OR (rspart[] is not initial) "Division
OR (rktagr[] is not initial) "Reason code Range
OR (rktaer[] is not initial) "Outcomme Code Range
OR (rktaeb[] is not initial) "Analysis Code range
OR (rernam[] is not initial) "Created by
OR (rktaar[] is not initial)) "Activity typeselect *
**********
**********
**********
else
*******
endif.
It says incorrect logical expression;
when i change it to this
ELSEIF (rcust[] is not initial) "Customer # Range
OR (rdate[] is not initial) "Creation Date Range
OR (rvkorg[] is not initial) "Sales Organizatiopn
OR (rspart[] is not initial) "Division
OR (rktagr[] is not initial) "Reason code Range
OR (rktaer[] is not initial) "Outcomme Code Range
OR (rktaeb[] is not initial) "Analysis Code range
OR (rernam[] is not initial) "Created by
OR (rktaar[] is not initial) "Activity typeIt says cannot have more than one line in a logical expression.
***************************************
I just want to check that none of these values coming from select options are blank, before I trigger the code
2010 Jan 21 6:44 PM
Sorry, some white spaces were missing with the braces, thats why it was not working. The second if statement worked fine
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |