Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
On Wed, 21 Mar 2012 19:26:18 -0400
Vinay Gavankar <vinaygav@xxxxxxxxx> wrote:
<<SNIP>> _RLocate to get the RRN of a record based on a key from a
keyed logical file.
I wanted to get the total number of records in that file which have
Key equal to a particular value. <<SNIP>>
/*
variables: filePointer, keyValue,keyLength,recordCount
*/
recordCount=0;
_Rlocate(filePointer,NULL,0,__START);
while
((_Rlocate(filePointer,&keyValue,keyLength,__KEY_EQ))->num_bytes)
recordCount++;
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.