ghost
from: Washington, DC
| List your stored procedures and their parameters exclusively as shown in the sample code below: objWiz.UseProcedures = "Procedure1,@Param1='MyValue1',@Param2='MyValue2'|Procedure2,@P1='V1'" e.g. bjWiz.UseProcedures = "GetStudents,@LastName='Johnson',@Age=12|GetClasses,SessionDate='" & FormatDatetime(Now,2) & "'" Note that, if you specify the parameter value as above, the user will not be requested to enter the parameter value. On the other hand, if you wanted the user to enter a parameter value, put a question sign (?) in front of the parameter as shown below: objWiz.UseProcedures = "Procedure1,@Param1='?ParameterName1',@Param2='?ParameterName2'|Proc2,@P1=?MyOtherParamerterName'"
------------------------- Ghost |