ADO components can be sorted by sort

xiaoxiao2021-03-06  14

Today, I went around in 9cbs, I saw an article, "A very practical EHLIB sort function, suitable for ADO" from http://blog.9cbs.net/hz_zmd/archive/2005/02/17/290907.aspx, I found ADO's sort can be sorted, (Oh, if you got treasure! This thing should be early, why don't you know? ...% ¥% #). So I think, it is ADO's thing, that is not just in Ehlib, so I tested it, it is really a good thing, the specific usage is

Tcustomadodataset.sort = field name 1 [Desc], field name 2 [desc] ....

Oh, there is a small problem, Delphi is not written, but ADO doesn't seem to do it. If DESC uses lowercase, it will be wrong, at least in my Win98 Ado2.7 Delphi 6 is like this.

Hey, one day! Summary and thousands of miles!

转载请注明原文地址:https://www.9cbs.com/read-50229.html

New Post(0)