Tuto WEBDEV 25

Part 1: Discovering WEBDEV 51 Saving the data in a data file When creating a form, the first thing that we want to do is save the data typed. This data can be saved in a text file, in an XML file or even in a database. We have chosen the last option. In WEBDEV, the database description is performed in a specific editor, the data model editor. This editor will be presented in details in the next section. In this example, we are going to define the database linked to the created controls via a straightforward feature: the reverse engineering. Creating the data file ▶ To automatically create the data file: 1.  In the ribbon, on the "Page" pane, in the "Edit" group, expand "Other actions" and select "Generate a file description". 2. A new editor appears: the data model editor. The data model editor contains the description of all data files that will be used by the project. 3.  The data file generation wizard starts. 4.  The name of the data file is automatically filled with the page name. We are now going to modify some elements: • Type "Registration" in the name. • Type "Registration" in the caption. • Type "a registration" in the last control.

RkJQdWJsaXNoZXIy NDQ0OA==