Guest_imported
New member
- Jan 1, 1970
- 0
Hi,
I'm having trouble working out why the && statement is not working. Below is what I'm trying to do:-
-----------------
if (SendToTDC = "TDC" && SendToPAB = "PAB" then
strTo = "md@hotmail.com"
end if
----------------
The error message I get is:-
Error Type:
Microsoft VBScript compilation (0x800A03EA)
Syntax error
/em/configit.asp, line 32 (the above bit of code), column 23
I'm having trouble working out why the && statement is not working. Below is what I'm trying to do:-
-----------------
if (SendToTDC = "TDC" && SendToPAB = "PAB" then
strTo = "md@hotmail.com"
end if
----------------
The error message I get is:-
Error Type:
Microsoft VBScript compilation (0x800A03EA)
Syntax error
/em/configit.asp, line 32 (the above bit of code), column 23