I run a store procedure which inserting new data into the table and on the last statement in store procedure i selecting the id(autonumber) and returning this value to VB applic. program. The Store proced runs very well and inform is in table and selecting id, but the recordset is not working after telling the msg that object is closed eventhough i didn't close the recordset.
this is store proc executing
Set rs = cmdInsertNewCustomer.Execute
If rs.RecordCount <> 0 Then
frmFc.txtID = rs.Fields("ID"
.Value
end if
Help!
this is store proc executing
Set rs = cmdInsertNewCustomer.Execute
If rs.RecordCount <> 0 Then
frmFc.txtID = rs.Fields("ID"
end if
Help!