Slimelite BBS

Random Access File

Back to DRIVING

From Peter Dalton · 1996-04-09 19:15 · #69275 in DRIVING

Hi Everyone,

can anyone supply a small proggette that I can call from a QB4.5
program that will allow a quick scan through a Random Access File? ATM I
load in each record and test one of the fields for a particular match,
or to find if it's within a particular range, then either display the
matching record or drag out various other fields and add these to the
counters. This obviously takes some time in QB4.5 and I assume it
wouldn't be too difficult for someone who's familiar with ASM to write a
util.

I'd guess the inputs to this util would be Filename, field and search
parameter(s)...the output would be the number of the next available
record containing the the required parameter. Some form of counter would
be required so a scan could continue from the last record found, or
start again from record one...

Does this sounds as simple as I'm making out? Does anyone fancy poking
around for me?

Regards
Peter

--- PCRR 1.05/b+
 * Origin:  (RA 2:250/107.80)