The solution for this is using the object Access.Docmd.
Here is statement to do it, it is pretty easy and handy.
With Access.DoCmdfor example:
.RunSQL "your update/insert/delete statement"
End With
With Access.DoCmd
.RunSQL "update tableA in 'c:\db_data.accdb'"
End With
0 comments:
Post a Comment