Subject | [IBO] Re: Looping through OrderingItemsNo: how? |
---|---|
Author | Marco Menardi <mmenaz@lycosmail.com> |
Post date | 2003-01-13T17:38:08Z |
--- In IBObjects@yahoogroups.com, Lucas Franzen <luc@r...> wrote:
[cut]
> (Anyway you can test the negative value anyway since IBO won't complain
> if there's no DESC ordring, it will just order as if the positive value
> was chosen)
Fabolous! Now mi code is the following, and this works :) Thanks :)
for inx := 1 to OrderingItems.Count - 1 do
begin
if not Active then Open;
OrderingItemNo := inx;
OrderingItemNo := -inx;
end;
regards
Marco Menardi