Any advice as to how to construct an SQL CASE Statement for
1. nested If statements
2. evaluating more than one variable on an 'if'. (I get an error on the second variable)
1. nested If statements
2. evaluating more than one variable on an 'if'. (I get an error on the second variable)
PHP Code:
If Method = 'P'
fromWH = FromWH1
Mode = Mode1
Else
If Origin = 'F'
fromWH = FromWH2
Mode = Mode2
Else
fromWH = FromWH3
Mode = Mode3
EndIf
EndIf




Comment