In this section, we will learn how to open an existing design by specifying the design ID. We will write a method called
LoadDesign which will query the
Design table, verify that the design exists, retrieve the date, populate the form with all the details, and filter the map to show only excavation for that particular design.
We will create the
LoadDesign method that will be responsible for querying and loading all design details. Follow these steps to add the method: