Kathy,
Do you have all your connections built? are you using stored procedures? what DB?
if you have your command objects built to run stored procedures all you will need to is call the command.
'Declare at the begining of the progect
Dim cmdMakeNCR As ADODB.Command
'In your form load event
Set cmdMakeNCR = New ADODB.Command
cmdMakeNCR.CommandType = adCmdStoredProc
cmdMakeNCR.CommandText = "QC_AddNCR"
cmdMakeNCR.Parameters.Append cmdMakeNCR.CreateParameter("InspectionID", adInteger, adParamInput)
cmdMakeNCR.Parameters.Append cmdMakeNCR.CreateParameter("UserID", adChar, adParamInput, 3)
cmdMakeNCR.Parameters.Append cmdMakeNCR.CreateParameter("NCR_ID", adInteger, adParamOutput)
'Command Button
Set cmdMakeNCR.ActiveConnection = conMain
'Let your procedure knows what its looking for
cmdMakeNCR.Parameters!InspectionID =
'then execut the query
cmdMakeNCR.Execute
hopefully i didn't confuse you, I'm not really sure what your working with but this is how i handle SQL sever and stored procedures in VB6