Understanding records and record sources

A record is a collection of fields, possibly NIL, that share the same type structure. A record source consists of a read-only sequence of records. Each record consists of individual fields which might have specific values or might be null. The fields of a record source are arranged in columns.

Record sources are essentially data arranged in tables, and are subject to these restrictions:

For example, here is a record source with four columns:

Name Year Color Model
Mazda Null Pink 626
Honda 1988 Null Accord LX
Ford 1990 Brown Taurus

For an example of how a client application might use a record source, see "Querying a datastore" on page 25. For an example of how to provide a record source, see "Providing a record source" on page 34.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker