Tuto WINDEV 25
102 Part 3: My first database 5. 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". 6. 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 WINDEV. 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 WINDEV. Whenever a record is added to the data file, WINDEV automatically assigns a value to the data file identifier. This value is unique. 7. 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. 8. Click "Finish" to validate. The data file is automatically created in the analysis. The description window of items and indexes opens up.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==