Hello,
I have a complicated query with left join and fields like
... members.prepaymoney, date(members.lastseen) as lastdate, ...
the problem with those queries is that I cant refresh one record only. They recognize the alias "lastdate" as field and they return an error:
EMyError:
#42S22Unknown column 'lastdate' in 'field list'
version: 5.20.0.12
mysql: 5.0.41
refresh one record
We found a bug concerning auto-generated queries. It will be corrected in the next MyDAC build. Most likely it will fix the problem you have encountered.
I mean the wrong statement sent by MyDAC to the server. To solve this problem, you should catch this query, fix it, and assign it to the RefreshSQL property of your DataSet component.ben wrote:what is correct and what is not here?