Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
If/then Statement issues
#1
Solved: 9 Years, 4 Months, 3 Weeks ago Sad 
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)

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
Reply


Messages In This Thread
If/then Statement issues - by Carver2469 - 06-30-2015, 05:08 PM
RE: If/then Statement issues - by supputuri - 06-30-2015, 07:56 PM
RE: If/then Statement issues - by vinod123 - 11-03-2015, 03:44 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)