I have the MS ActiveX Data Objects 2.6 checked in my references window. Is this the one that your referring to that I should uncheck?
What I currently have is I am using the following code to pass parameters from inside Document_Close to my stored procedure:
Set cmd.ActiveConnection = connOLEDB
cmd.CommandText = "sp_Add293eSDoc"
cmd.CommandType = adCmdStoredProc
Set parOccurrence = cmd.CreateParameter("Occurrence", adVarChar, adParamInput, 10, dtmOccurrence)
cmd.Parameters.Append parOccurrence
parOccurrence.Value = dtmOccurrence
Set parReportDate = cmd.CreateParameter("ReportDate", adVarChar, adParamInput, 10, dtmReportDate)
cmd.Parameters.Append parReportDate
parReportDate.Value = dtmReportDate
But I really need to be able to execute this on a Save or SaveAs event. The only events I see are Document_Open, Document_New, Document_Close. I am not sure that I follow you?