Hi,
I have an ASP page and I want to display a chart pie on it. I keep getting the error that the SQL query is wrong
Here is my code:
var chart = CRM.GetBlock('chart');
with (chart)
{
Stylename('Pie');
Resize(600,600);
XLProp="Allo_Label1";
YProp="Allo_pcs1";
SQLText="SELECT Allo_Label1, Allo_pcs1 FROM Prod_Allocations";
}
Please note that table Prod_Allocations is a linked table (resides on external db).