-
Add new folder under the Exervicises folder, name the new folder SelectionList.
-
Add new UIController to the SelectionList folder, name the new UIController ShowOrdersWithEmployeeSelection.
-
Set the Orders table as the main table
-
Build and go to the form designer.
-
Add a Grid control to the form.
-
Add the following columns to the Grid:
- Orders.OrderID.
- Orders.CustomerID.
- Orders.OrderDate.
-
Add new UIController to the SelectionList folder, name the new UIController SelectCustomers.
-
Set the Customers table as the main table
-
In the Onload method set the following settings
- Activity to Browse.
- Allow Delete,Insert and update to false.
- Allow Select to ture.
-
Build and go to the form designer.
-
Add a Grid control to the form.
-
Add the following columns to the Grid
-
Customer.CustomerID.
-
Customer.CompanyName.
-
Set a Debug Write line in the On Saving row and make sure that you get the message in the output window when selecting an item
-
Save changes to Git.
-
Build and test.