Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script problem

Status
Not open for further replies.

Sympology

MIS
Jan 6, 2004
5,508
GB
Help, I just can't see what is worng. I need this to kick in on Christmas Eve, but only after the team has logged out. The skillset exists and works when normaly logged out .e.g
IF NOT OUT OF SERVICE Misc_Support THEN
EXECUTE CONTINUE

but when I try:

IF DATE = 24 DEC AND
IF NOT OUT OF SERVICE Misc_Support THEN
EXECUTE CONTINUE
ELSE.......


It gets a validation failure pointing between the AND and IF NOT

Am i missing something REALLY obvious?

Stu..

Only the truly stupid believe they know everything.
Stu.. 2004
 
Try Something like this


IF (DATE = Dec 17) THEN
EXECUTE Test
END IF


SECTION Test
IF OUT OF SERVICE Test_CTI_Member_Claims
Then
Execute Continue


END IF


Section Continue

xxxxxxxx
 
You don't need the 2nd IF

IF (DATE = 24 DEC) AND (NOT OUT OF SERVICE Misc_Support) THEN
EXECUTE CONTINUE
ELSE.......


Parenthesis are not absolutely necessary, but make it easier to see what's going on.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top