Northcentral Technical College Introduction To Programming
10-152-310
Introduction to Programming with JavaScript NTC 10-152-310

Learning Plan 6 Zip Code Study Record Set

# Zip Code Study Record Set

#### File: /Learning Plan 6/zipCodeStudyRecords.html

- Zip Code Study Record layout:

Field 1 | Field 2 | Field 3 | Field 4
--- | --- | --- | ---
First Name | Last Name | Gender | Zip Code

### Using the Customer Gas Usage Records

- The records are made available to your programs with this function:
- The function returns the records so you need to store them in a variable:
- After the openZipCodeStudyRecordSet() function has been run you have access to the first record's data. You will retrieve each part of one record with a different function. Here are the functions:
- Notice that you need to have "records." in front of each of the functions.
- When you want to read the next record you use the following function. It will make the next record available and you then use the above functions to retrieve the data. This function returns `true` if there was a next record and `false` if the end of the record set has been reached.

### Example Usage

### The Zip Code Study Record Set

#### The First 25 Records

First Name | Last Name | Gender | Zip Code
--- | --- | --- | ---