![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
On Tue, 21 Jun 2005 10:14:56 -0400 (EDT), Richard Kayton wrote: I have a script that cycles through records in a found set. How do you tell when you have processed the last record in the set? The current error status remains 0 when you recquest another record but there are none. goto next record. exist on last ... should do what you need. Otherwise you might do an extra check whether the current record number = found numnber. Pick the matching get functions. |
#3
| |||
| |||
|
|
I am not sure what you mean below where you exit on last. As far as I can tell there is no explicit status that indicates that you have reached the last record in a found set. The closest seems to be the current record number but what happens after you process the last record and then do a skip to the next record? Sincerely, In article <slrndbg8p9.ae.t-use (AT) ID-685 (DOT) user.individual.de>, t-use (AT) gmx (DOT) net says... On Tue, 21 Jun 2005 10:14:56 -0400 (EDT), Richard Kayton wrote: I have a script that cycles through records in a found set. How do you tell when you have processed the last record in the set? The current error status remains 0 when you recquest another record but there are none. goto next record. exist on last ... should do what you need. Otherwise you might do an extra check whether the current record number = found numnber. Pick the matching get functions. |
![]() |
| Thread Tools | |
| Display Modes | |
| |