06-30-2015, 05:08 PM
I have this If statement multiple times for different WorkCenters but this one with the letter in it is giving me errors...(the L at the end of 45205L in the first line is the issue)
It's giving me an EXPECTED 'THEN' error along with an "EXPECTED END OF STATEMENT" error
Code:
If DataTable.Value("WC","ApexProcessMOs")=45205L Then
EWC="45205L-FABRIC LAM & ASSM LAUNCH (45205L)"
End If
It's giving me an EXPECTED 'THEN' error along with an "EXPECTED END OF STATEMENT" error