Hi, I have an Access Database that I am using to store analytics data. I am using Excel as a data presentation layer (basically a data dump with pivot tables). I have some queries that require a string of left outer joins and the performance is fine. The problem I am having is this:
1. When I run the queries which create temp data tables via "Select into" commands via VBA, the results yield a table of results data but with a portion of the data missing. It literally makes a table with 6 columns of data but leaves one entire column of data empty.
2. If I run the make queries "Select into" manually from the access database it has no problems making the tables and populating the data with all results.
Dim con As ADODB.Connection
Dim rs As ADODB.Recordset
Set con = New ADODB.Connection
With con
.Provider = "Microsoft.ACE.OLEDB.12.0"
.Open "C:\test.accdb"
End With
con.Execute "drop table_names"
con.Execute "Update_Table_list"
Anybody run into this problem? Is there something this ADO execute does not like for a "Select Into" queries?
Thanks,
Khiem
Bookmarks