Topic: 1=1 Order By id desc NOT working
Hi all,
I found that the following script doesn't work in the 6.4 version
Form1.ComboBox1.dbFilter := '1=1 Order By id desc';
Form1.ComboBox1.dbUpdate;
or if I place it in the Menu Filter
Any solution????
My Visual Database → General → 1=1 Order By id desc NOT working
Hi all,
I found that the following script doesn't work in the 6.4 version
Form1.ComboBox1.dbFilter := '1=1 Order By id desc';
Form1.ComboBox1.dbUpdate;
or if I place it in the Menu Filter
Any solution????
Hi,
Perhaps try doing it like this (see screenshot in the attached example); since a couple of versions ago, 'sort field' and 'sort order' were added as new combobox properties instead of doing it with '1=1 order by.......' (which was really just a workaround) in the 'filter' property.
Derek.
I wanna sort the cmbobox beginning from the last record (id)
So, using my earlier example, you'd just type in 'id' instead of 'country'
My Visual Database → General → 1=1 Order By id desc NOT working
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi