Introduction to UI Controller - Summary Exercise
- Under the Exercise folder add a new UIController named it ShowOrderDetails.
- Define the Order_Details table at the beginning of the controller class.(use the snippit mem and then hit the tab key twice ).
- In the constructor use the From to set the Order_Details to be the class main table.
- Build and open the form designer (F12 or go to Definition from the Onload View and then right-click and select View Designer).
- Add a grid with all the columns from the OrderDetails table.
- Add a new menu entry calling ShowOrderDetails.
- Save changes to Git.
- Build and test.
- Going back to the ShowOrderDetails controller:
- Filter the data to display only the rows where the UnitPrice is greater or equal to 20.
- Save changes to Git.
- Build and test.
- Sort the rows by the OrderID in descending order.
- Save changes to Git.
- Build and test.
- Add a relation to the Products table.
- Build and open the form designer.
- Add the ProductName next to the ProductID on the same column.
- Save changes to Git.
- Build and test.
Help us improve, Edit this page on GitHub
or email us at info@fireflymigration.com