How to fix the Error?

Discussion forum for PivotCube VCL users. Common questions. Bug and problem reports

Moderator: Alex Zencovich

How to fix the Error?

Postby Nadya » Thu Feb 08, 2007 11:51 pm

I have to use for my PivotCube the SQL query
SELECT A.WORKORDER, A.SDESC, A.PLANTNO, C.SDESC "PLANT DESC",....
And I have got the Error when I try to create New cube and choose field "PLANT DESC" for dimention
The Error is " Expected token 'eof' found 'NAME' .//Plant->DESC<- "

Details: Error happened on runtime in the procedure TCBCubeDef.GetMapSlices(FRoot: IXMLDOMElement);
on the process
DimensionNode:= (ChildNode.getElementsByTagName(PivotMap.Dimensions[dimCounter].AliasName).item[0] as IXMLDOMElement);
What I have to do? There is exists only the way to change sql query or maybe you can help to find me the another wat to solve this problem?
Thank you.
Nadya
Guest
 
Posts: 4
Joined: Wed Jan 24, 2007 4:55 am

Postby Guillaumep » Tue Feb 13, 2007 9:08 am

I'm probably wrong but your SQL should be (add AS) :

SELECT A.WORKORDER, A.SDESC, A.PLANTNO, C.SDESC AS "PLANT DESC" ...

Have a nice day,
Guillaume
Guillaumep
User
 
Posts: 13
Joined: Tue Jul 18, 2006 11:19 am


Return to PivotCube VCL

Who is online

Users browsing this forum: No registered users and 0 guests

cron