Exercise - Selection List
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 SelectEmployees.
Set the Employee 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
Employees.EmployeeID.
Employees.FirstName.
Employees.LastName.
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.
Help us improve, Edit this page on GitHub
or email us at info@fireflymigration.com