Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

selectClause in ds.xml causes datasource error

$
0
0
--------------------------------------------------------------------------------
1. SmartClient Version v10.0p_2015-03-14/Power Edition Deployment
(built 2015-03-14)

2. I have a selectClause in myds.ds.xml that works correctly. Its got some custom MySQL sql. It works however when I replace a sum(myfield) with
sum( if (myfield <= 100, 100,0)) I get errors loading the data source. I checked the sql via the MySQL console and it runs correctly so I believe the syntax is correct.

So my question is should I expect this work, or is there perhaps some special characters or keywords that need to be escaped or something ??

Thanks

Viewing all articles
Browse latest Browse all 4756

Trending Articles