Hands-On Exercise 5
Make new versions of your myBASdatent and myBASlookup routines, called myBASdatentobj and myBASlookupobj.
-
Using Studio, load the myBASdatent routine, and save it as myBASdatentobj. Edit the store subroutine to use object syntax to store the data.
-
Load the myBASlookup routine, and save it as myBASlookupobj. Edit the load subroutine to use object syntax to load the chosen person from ^PersonD. Edit the update subroutine to use the object syntax to store the data in ^PersonD. Edit the phone subroutine to reflect the new structure of ^PersonI.
For instructions, click below.