Hi,
I'm using the CRDBGRD component with serveral MyQuery's and the MyConnection. I'm satisfied with it's general functions.
But:
Is it correct that it's impossible/not allowed to order/sort a CRDBGRID-column which held an lookup field?
If yes, is there a work-aroud?
I've searched the forum and the MyDac manual, but didn't find the answer.
Thanks in advance,
Boudewijn
CRDBGRID lookupfield order by columnclick
CRDBGRID lookupfield order by columnclick
Hi again,
I recent registered MyDAC 5.x
According to the feature-list my question about (local) sorting a lookupfield in a crdbgrid should now be possible.
Does this function need extra lines of code? It stil won't do. (sorting by clicking the column header)
regards,
I recent registered MyDAC 5.x
According to the feature-list my question about (local) sorting a lookupfield in a crdbgrid should now be possible.
Does this function need extra lines of code? It stil won't do. (sorting by clicking the column header)
regards,
Thank you for information. To solve this problem you should find the CRGrid.inc file in the MyDAC installation directory and replace the first line in this file:
with the following line:
Note: this file is a part of the TCRDBGrid source code. It is available only for registered users.
Code: Select all
{ $DEFINE DAC450}Code: Select all
{$DEFINE DAC600}