Syntax Error Question
I feel like I'm beating my head against a wall trying to figure this out. Here is the Error I'm receiving
Checking Syntax...
E:\ptc\Windchill_9.1\Windchill\temp\WfExpression106259384.java:52: ';' expected
WTDocument wt.doc.WTDocument = (WTDocument) context [17];
^
1 error
Syntax check complete.
Here is the code that I'm working with:
wt.fc.QueryResult qr = null;
qr = wt.doc.WTDocument((RCTestRequest)primaryBusinessObject);
wt.doc.WTDocument cn = (RCTestRequest)qr.nextElement();
qr = null;
qr = wt.doc.WTDocument(cn);
wt.doc.WTDocument cr = (RCTestRequest)qr.nextElement();
ext.generic.util.IBAUtil objHelper = new ext.generic.util.IBAUtil(cr);
ProjectEngineer=objHelper.getIBAValue("ProjectEngineer");
Samples=objHelper.getIBAValue("Samples");
TestReportFormat=objHelper.getIBAValue("TestReportFormat");
Number=objHelper.getIBAValue("Number");
FunctionalGroup=objHelper.getIBAValue("FunctionalGroup");
ProductDescription=objHelper.getIBAValue("ProductDescription");
ProductName=objHelper.getIBAValue("ProductName");
If someone could help me understand what this Error means, I would greatly appreciate it. I am almost at a complete loss when it comes to Java Syntax, so simple terms for an explanation please.
Thanks,
Michael

