To program event procedures for Data Environment objects, you can do the following:
-
Double-click a Connection object in the Data Environment Designer to see a code
window for the Connection's event procedures.
-
Double-click a Command object in the Data Environment Designer to see a code window
for its corresponding Recordset's event procedures. (Command objects do not themselves
support events.)
Because ADO events are identical under the Data Environment and in straight ADO
programming, the programming of events is not discussed here. Instead, you should refer to
the sections that discuss ADO event programming later in this chapter.
Because Recordset object programming is discussed at greater length throughout this
chapter, Recordset object manipulation with the Data Environment is also not discussed here.