Subject Re: [IBO] Sort Order Problem
Author Svein Erling Tysvær
the one thing that is different with your DATE_BIRTH field is that Geb
Datum includes a space. I don't know if this is the reason for your
problems, but try changing Geb Datum to something less spacy and see if
that helps.


At 09:59 09.03.2001 -0000, you wrote:
>I got a TIB_Query and a TIB_Grid.
>I like to sort the grid in three different ways.
> with OrderingItems do begin
> Clear;
> Add('KlantNaam=NAME, FIRST_NAME');
> Add('Geb Datum=DATE_BIRTH');
> Add('Voornaam=FIRST_NAME, NAME');
> end;
> with OrderingLinks do begin
> Clear;
> Add('NAME=1');
> Add('DATE_BIRTH=2');
> Add('FIRST_NAME=3');
> end;
>The DATE_BIRTH field is a date time field.
>With the NAME and FIRST_NAME sort order I have no problems, this
>works fine.
>When I click in the grid on the DATE_BIRTH field, it does not sort
>it, I get the same date in every field.
>What am I doing wrong ?