When the Record Is the Last Record

Charles Yeomans yeomans at desuetude.com
Tue Jun 13 14:38:48 CDT 2006


On Jun 13, 2006, at 11:21 AM, Chuck Pelto wrote:

> Greetings,
>
> Is there a way to test if the record one is looking at, either in a  
> table or a vcursor, is the LAST record in the set?
>
> In FMP this could be accomplished with a test if RecordNumber =  
> RecordCount; where RecordNumber is the number of the record in the  
> found set. If RecordNumber is equal to the RecordCount, you were at  
> the end of all the records in the found set.
>
> How is that done in Valentina?

Check the documentation for VTable.RecordCount, VTable.LastRecord,  
VCursor.RecordCount, and VCursor.LastRecord.

Charles Yeomans


More information about the Valentina mailing list