G
Guest
Replying to you msg give me an error msg from server application (?).
I send this new one hoping to give you the example you requested. It was in reply to my question on how to repopulate a table with data saved in persisted recordset.
Here is the code to save the "tblpazienti" as persisted recordset
Private Sub Image6_Click()
Dim rst As ADODB.Recordset
Set rst = New ADODB.Recordset
rst.Open obj.Name, CurrentProject.Connection, adOpenStatic, adLockReadOnly
rst.Save CurrentProject.Path & "\backup\pazienti", adPersistADTG
rst.Close
End Sub
Thanks,
Rocco
I send this new one hoping to give you the example you requested. It was in reply to my question on how to repopulate a table with data saved in persisted recordset.
Here is the code to save the "tblpazienti" as persisted recordset
Private Sub Image6_Click()
Dim rst As ADODB.Recordset
Set rst = New ADODB.Recordset
rst.Open obj.Name, CurrentProject.Connection, adOpenStatic, adLockReadOnly
rst.Save CurrentProject.Path & "\backup\pazienti", adPersistADTG
rst.Close
End Sub
Thanks,
Rocco