Tuto WINDEV 25

108 Part 3: My first database ▶ Let’s study the description of imported data file: 1. Select the "PaymentMode" data file. 2.  In the popup menu (right mouse click), select "Description of data file". 3. Change the data file caption in the window that opens up: delete "(Imported)". 4. Click the icon to display the description of the data file items. 5.  This data file contains no automatic identifier and no unique key. We are going to switch the "Code" item to unique key: • Position the selection bar on the code item if necessary. • In the right section of screen, click "Unique key". 6. We get the following data: 7. Validate the item description window and the data file description window. Direct import of existing data files The last method for creating data files consists in importing the existing HFSQL data files. This method will be used to create the "Product" data file. ▶ To import HFSQL data files: 1.  In the Windows file explorer, open the following WINDEV subdirectory: "\Tutorial\WD\ Exercises\WD My First Database". 2. Select the "Product.fic" file. 3. Drag the file "Product.fic" and drop it in the WINDEV data model editor. 4.  The import wizard starts. Validate the different steps. The data file appears in the data model editor. All necessary data files are now found in the data model editor. Caution! Only the description of the "Product" data file was imported into the analysis of our project. The data found in the "Product" data file was not imported into the project.

RkJQdWJsaXNoZXIy NDQ0OA==