SELECT DISTINCT CONCAT(invoice_fee_description, IF(fee_charge>0,CONCAT(' ($',fee_charge,')'),'')) fee_code FROM fee WHERE fee_type='DELIVERY' ORDER BY invoice_fee_description, fee_code
Is perfectly valid, but your parser gives me:
Could not parse the SQL select statement for the choices in field: fee_id
THe statement is fine - looks like i have to create a view and base the dropdown off that.
I have had to work around this bad parsing many many times.
It is very frustrating - just let the sql statement go through to the database without your code trying to (badly) verify it - if it doesnt work - my fault.
There have been many times where using nested selects, or functions in the statement doesnt work
Bookmarks