This topic is locked
[SOLVED]

 PHPRunner was unable to parse your SQL query

7/27/2010 10:39:36 AM
PHPRunner General questions
K
kplunkert author

Good Morning All,
I am working on a custom view, I attached the following SQL to the view
Select _VendorTable.Service Provider as 'Vendor',

_VendorTable.Vendor Code as Vendor_Code,

Concat('<a href="http://10.100.77.18/development/ap/Utilities/_History_list.php?mastertable=_VendorAccounts&masterkey1=';, Test.Account#,'">',Test.Account#,'</a>') as Account,

Test.LastBilled

From

(SELECT _History.Account#,

Max(_History.DateBilled) as LastBilled

FROM _History Group by _History.Account#)as Test
Inner Join _VendorAccounts ON Test.Account# = _VendorAccounts.AccountNum

Inner Join _VendorTable ON _VendorAccounts.VendorID = _VendorTable.Vendor Code

Where datediff(Now(),Test.LastBilled) > 30 and Active = 1
The statement runs fine outside of PHPRunner, I get the correct results in the Results tab of PHPRunner. If I try to select the query designer, I get the following error
PHPRunner was unable to parse your SQL query. Designer tab is not available.
I can live with that. The problem I am having is that if I add a field to the query, it will never show up in the report. Or in any of the configuration windows.
Any ideas?

A
ann 7/28/2010

Karl,
after you've add the field to the query you also need to check it on the Choose fields tab.
If it doesn't help please publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages along with instructions on reproducing this error. 'Demo Account' button can be found on the last screen in the program.