Amiga World Official AmigaVision Handbook - eBook-ENG

Page 265

The Database Editor

247

AnigaVision Authoring SysteH (English)

Figure 14-3

Naming a new databasefile

As an example, suppose you wanted to make a simple database for your collection of movies. You would want to list the title of each movie, its length, what format(s) you have it in, its genre (category), and perhaps include a comment field for a personal observation.

You would first type the name of the field you want to create into the Name input field. If your first field is to hold the movie titles, you will probably type the word Title into the Name field. (The AmigaVision Database editor limits field names to a maximum often characters.) Next, make sure the multistate gadget is set to String, so that you will be able to enter alphanumeric characters into the Title field. Then specify a size for the field, equal to the maximum number of characters that can be entered into it. In this case, a value of 72 is used. Finally, click on the Insert button to place the newly defined field into the list window (see Figure 14-4).

You can define the Genre and Comment fields as you did the Title field: as alpha numeric strings of 72 characters. (After you define each field, place it into the list window using the Insert button.) For the Length field, use a numeric field four characters long: one space to indicate the film's length in hours, one for the deci mal place, and two for numbers indicating the minutes. Finally, you will need a string field of one character to indicate whether the movie is on videotape (T),


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.