CSIS
1560: BASIC Programming
Assignment 6: Arrays
Due Dec. 8
Changes to Requirements:
·
You
are not required to have checkboxes for category, nor are you required to keep
track of this information.
·
You
may assume that there will never be more than 50 records entered.
·
You
may use a textbox instead of a list box to display the records.
Design Issues:
·
You
will need to use parallel arrays to store the first name, last
name, and telephone numbers.
·
You
will need to use a variable to keep track of how many records the
list contains so far. This will be vital towards deciding where in the arrays
to place the next record!
Extra Credit:
·
Use
ReDim to store any number of records in the arrays, instead of
just 50 (up to 3 points).
·
Add
an extra textbox and button to allow the user to search for a
particular record by the last name. If a record with the last name entered into
the textbox is found, the entire record (first name, last name, and phone
number) should be displayed (up to 6 points).
·
Store
and read the records from a file (called records.txt). When the form is loaded,
the names and phone numbers should be loaded into the arrays. When the form is
closed, the contents of the arrays should be stored in the file (up to 12
points).
Save
this project as Records.frm and Records.vbp. Make sure that your name
is on the diskette!