Subject | Re: [ib-support] Query question |
---|---|
Author | Lucas Franzen |
Post date | 2001-06-01T07:41:43Z |
Nico Callewaert schrieb:
Have a look at the sql again:
SELECT xxxxxxx FROM xxxxxxx
WHERE ItemNo > :qItemNo
ORDER BY ItemNo
If you have records like:
ItemNo.
--------
100
104
108
109
255
256
when your current record is 100 and you want to get the next one it will
be 104, then 108, then 109 and so on.
So where's the problem?
Luc.
>Yes, I know and what?
> Thanks Lucas,
>
> But the problem is, the next ItemNo is not always CurrItemNo + 1....
Have a look at the sql again:
SELECT xxxxxxx FROM xxxxxxx
WHERE ItemNo > :qItemNo
ORDER BY ItemNo
If you have records like:
ItemNo.
--------
100
104
108
109
255
256
when your current record is 100 and you want to get the next one it will
be 104, then 108, then 109 and so on.
So where's the problem?
Luc.