With respect, I dont undestand your objections. You have no idea of the 'context' in which I am asking for help nor the sensitivity of data (in this example, a list of health authorities and addresses - nothing more)
I am dissappointed with the hostile response to my posts and I will find some...
I got a bit further since my last post but still can figure out what I'm doing wrong.
Here is my VBA code so far:
Sub CopyDataToSQL()
Dim strAccessTableName As String
Dim strSQLTableName As String
Dim strSQL As String
strAccessTableName = "[tblHealthAuthority]"...
Thank you for replying to my post.
The table in my Access database is temporary and is created just before I need to copy the records into the SQL database table (and then subsequently deleted afterwards by the program).
Can I still use an append query to a linked table?
How do I copy records from an Access (2000) database table to a MS-SQL (2005) table using VBA code?
The tables in my Access and MS-SQL databases already exist and have identical table structures. I need to copy all the records from my Access database table to the SQL database table.
I'm using...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.