SQL Order By Problem
Posted: Sun 23 May 2010 21:22
I am using Delphi 2010 with the Mydac components to connect to my online mysql database. The problem Im having is the following..
I am connecting my table to the mydatasource1 which in turn is connected to the mytable1.
The mytable1 when I double click I have under the 'order by' part the text 'points desc'. This results in the sql string
"select * from mytable order by points desc"
Problem is while it fetches my data just fine, it doesn't order by the points field as it should
Any ideas why this is happening ?
Thanks.
I am connecting my table to the mydatasource1 which in turn is connected to the mytable1.
The mytable1 when I double click I have under the 'order by' part the text 'points desc'. This results in the sql string
"select * from mytable order by points desc"
Problem is while it fetches my data just fine, it doesn't order by the points field as it should
Thanks.