| View previous topic :: View next topic |
| Author |
Message |
mucar Guest
|
Posted: Tue Nov 22, 2005 10:21 am Post subject: sorting by a calculated field |
|
|
Hi,
I create a calculated field on my query which calculates by complex
rules and i calculate this field on OnCalcFields event. The problem is
to sort my datas by this column on Dbgrid. I couldn't solve it. Thanks.
|
|
| Back to top |
|
 |
kmerlotti@gmail.com Guest
|
Posted: Thu Nov 24, 2005 5:35 pm Post subject: Re: sorting by a calculated field |
|
|
hey friend.. I'm not glad to tell you this, but, you can't sort records
by calculated fields.. they don't store any data.. they only display
the data after they're calculated, but don't store them.
So. that's cauz' you'll can't sort by calculaterd fields!
hugs
Kelver Merlotti
|
|
| Back to top |
|
 |
mucar Guest
|
Posted: Fri Nov 25, 2005 12:22 pm Post subject: Re: sorting by a calculated field |
|
|
Hi Kelver, thank u very much for your sincere answer. Yes, i have
searched for this problem on the net, and ask it to many forums.The
answer was as same as yours But i have heard about a 3rd party
component (DevExpress QuantumGrid) that can sort even by a calculated
field. I'll try it. Thanks a lot.
Hugs,
Ugur
|
|
| Back to top |
|
 |
Riki Wiki Google Guest
|
Posted: Sat Nov 26, 2005 8:06 am Post subject: Re: sorting by a calculated field |
|
|
Hoi Ugur and Kelver
This newsgroup do not officially exist, that is why there are so few
posts here. About how and where to use the Borland news groups you need
to know this.
Take a look here:
<http://tinyurl.com/8m5nw>
which links to
<http://delphi.wikicities.com/wiki/Delphi_Newsgroups>
|
|
| Back to top |
|
 |
|