 | 1.2 | Making your database Build file accessible |
(Previous)
|
| TagMaster can currently read two database formats: the ".csv" or comma-separated values format; and the ".tab" or tab-separated values format. These formats may be used with the "repeat command", and are only accessible in TagMaster through that command. By default, the first record in each database file is considered a dead record, and the data in each field of that record is considered the field name. These field names may be accessed using the record variable as described in detail in 2.1 of the following section (see 2.1, "Accessing database records" ). This feature may be turned off by deselecting the "Treat first record as field named" preference on the preferences dialog. Example: "first field","second field" first field, second field "first field" [tab] "second field" first field [tab] second field Naming database fields You can name fields in a database for use in your Build file script. If the "Treat first record as field names" preference is set, database fields are named by the contents of that field in the first record of the database. If a record is used as field names, the record is ignored in the repeat loop. To find out more about accessing database fields, see 2.1, "Accessing database records" . |
© Copyright 1997-1999 Dataczar Technologies. All rights reserved. |