Adding a Recordset Design Time Control
- Specials.asp is already open in the source editor. To add the Recordset DTC, drag it onto the page and drop it in the <HEAD> section, just next to the </HEAD> tag.
For the purpose of this simulation, click the Recordset DTC and we will drag it for you.
- Now, you need to set the control's properties to specify a name for the control as well as the command object it will use. To set the properties, right-click the Recordset DTC.
- Now, click Properties.
-
Just like the command object, you should give the recordset a meaningful name. Enter BookRecords in the Name text box. Then you must select the appropriate Database Object. To do this, click the down arrow to the right of the Tables field.
-
Since we're going to use this control with the command object added in Lesson 3, select DE Commands.
- Now specify the Object name. There is only one to select at this time, BookRecordsCmd.
- That takes care of the properties, click Close to finish.
-
Now the project has a command object with an associated Recordset DTC. This is the end of the simulation.