Table of Contents
A database is a file of information. A record is the information about a particular entry. The pieces of information that make up each record are called fields. Three file types can be opened in Visual Basic: the sequential file, the random access file, and the binary file.
The Get and Put statement fetch and place records in random access file. The EOF () function is True when a file is empty. EOF stands for "End Of File".
To keep a program from stopping when a run-time error occurs, special statements trap the error. The On Error Resume Next statement allows execution to proceed to the next line. On Error GoTo transfers program execution to a line number or line lable.
A line label is a name of up to 40 characters followed by a colon. The line label provides a name for a line so that it may be referred to by a GoTo statement. The line label must be the first thing on the line.