Tuto WEBDEV 25

78 Part 2: My first database 4. We are going to create the "Orders" data file. Type its name ("Orders") in the wizard. This name will be used: • to handle the data file by programming. The variable associated with the data file will be "Orders". • to build the name of associated physical data file ("Orders.fic" file). The caption and description of elements represented by the file records are automatically displayed. Remark In the wizard, the control "A record represents" is used to get an understandable caption during the description of links between data files. A caption is automatically proposed from the data file name. In our case, type "An order". 5.  In "Automatic identifier", keep "8-byte automatic identifier". If an automatic identifier is defined on the data file, it means that the data file includes a unique key, automatically managed by WEBDEV. Remark To create the identifier (an identifier is a unique key), you have the ability to create a numeric item whose type is "Automatic identifier". This identifier is automatically managed by WEBDEV. Whenever a record is added into the data file, WEBDEV automatically assigns a value to the file identifier. This value is unique. 6. Go to the next step and select the type of database associated with the data file. We are going to work on HFSQL Classic data files. Go to the next step. 7. Click "Done" to validate. The data file is automatically created in the analysis. The description window of items is opened.

RkJQdWJsaXNoZXIy NDQ0OA==