I have created a query in Access that gets data from a table and also adds a blank colomn. I want to put this info into a recordset and then populate the blank column for the specific rows.. Its a totals column.. I dont want that info put back to the db.
I am attempting to do this by creating a disconnected recordset but I can not make it writable..
Set ohrstTotal = New ADODB.Recordset
sql = ""
sql = "Select * from qry_Quad_OverHead_Totals"
ohrstTotal.CursorLocation = adUseClient
ohrstTotal.CursorType = adOpenKeyset
ohrstTotal.LockType = adLockBatchOptimistic
ohrstTotal.Open sql, gcnn
'Disconnect the recordset
ohrstTotal.MarshalOptions = adMarshalAll
ohrstTotal.ActiveConnection = Nothing
Any ideas would help..
Thanks Alley
I am attempting to do this by creating a disconnected recordset but I can not make it writable..
Set ohrstTotal = New ADODB.Recordset
sql = ""
sql = "Select * from qry_Quad_OverHead_Totals"
ohrstTotal.CursorLocation = adUseClient
ohrstTotal.CursorType = adOpenKeyset
ohrstTotal.LockType = adLockBatchOptimistic
ohrstTotal.Open sql, gcnn
'Disconnect the recordset
ohrstTotal.MarshalOptions = adMarshalAll
ohrstTotal.ActiveConnection = Nothing
Any ideas would help..
Thanks Alley