The ADO Stored Procedure Code Wizard add-in allows you to insert Active Data
Objects code into any code window. Simply place the cursor in the function
or subroutine where the code is to be inserted, and select the
Add-Ins | ADO
Stored Procedure Add-In... menu option. The add-in form will be
displayed.
At this point, you can select from the simple set of options presented, in
order to choose the type of code to be generated. When finished, click Insert
to insert the code. Note that the insert point (the procedure currently
containing the cursor) is indicated above the insert button.
If not already added, you will need to add a reference to the ADO object
model before the code can be executed.
The code that is generated will work with ADO versions 2.0 or
newer. The add-in is not intended to generate completed code.
Its primary purpose is to automate the tedious process of mapping stored
procedure parameters to ADO command parameters. The add-in provides
options to also generate variable declaration, as well as command preparation
and execution.