Tuto WINDEV 25

110 Part 3: My first database We are now going to create the links between data files. A link is used to define the integrity constraints (cardinalities) between two data files. ▶ First, let’s create the link between the "Customer" and "Orders" data files: a customer can have one or more orders and each order is linked to a customer. 1. On the "Analysis" pane (found in the ribbon), in the "Creation" group, click "New link". The mouse cursor turns into a pen. 2. Click the "Customer" data file, then the "Orders" data file. 3.  The wizard for link creation starts. 4. Answer the questions asked by the wizard: • Each Customer has at least one Order: No • Each Customer can have several Orders: Yes • Each Order has at least one Customer: Yes • Each Order can have several Customers: No Remark You can also specify the link cardinalities directly in the wizard.

RkJQdWJsaXNoZXIy NDQ0OA==