Tuto WINDEV 25

106 Part 3: My first database Importing a CSV file A different method will be used to create the "PaymentMode" data file, which contains the payment characteristics: importing a CSV file. Remark A CSV file is a text file that is using a specific format. This file contains data on each line. The data is separated by a separation character (a comma, a semi- colon or a tabulation). From the CSV file containing the data, WINDEV will create: • the description of data file in the analysis, • the HFSQL data file with the data found in the CSV file. ▶ To import a CSV file into the analysis: 1.  In the ribbon, in the "Analysis" pane, in the "Creation" group, expand "Import" and select "Import the descriptions of files/tables". Tip To import a CSV file (or any other file) into the analysis, you also have the ability to Drag and Drop the CSV file (from the Windows explorer) to the data model editor. This will be presented in the next paragraph. 2.  The wizard for importing files starts. 3. Go to the next step. 4. Select the format of files to import. In this case, select "Text file". Go to the next step of the wizard. 5. Specify the path of file to import: "\Tutorial\WD\Exercises\WD My First Database\ PaymentMode.csv" in the WINDEV setup directory. 6. Go to the next step of the wizard.

RkJQdWJsaXNoZXIy NDQ0OA==