Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to retrieve a record fast?

Status
Not open for further replies.

ERNIE25

Programmer
Dec 1, 2003
4
0
0
AR
Hi,

I'm new to VB. How do you retrieve a record from a file, as I used to do in my old indexed files in xBASE ?.

All I found at first, are examples with data controls that browse the file, one record at a time

thanks in advance,

Ernesto Fox
 
You have to Open #1 a fixed length file
Use Get#1,N where n is the record number
Look for sequential or random files in help CD examples
 
Also usually you put your data into a database and index it (like access.mdb) and you can do everything from there
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top