Marcster
07-06-2009, 09:50 AM
Hi People,
Does anyone know if it's possible to create a Linked Table to a .csv file and a SQL Server linked table in VBA without using a DSN file?.
What I'm after is, if the above is possible, is for the user to be able to select a csv file from an Open File dialog to obtain the csv file path.
A userform will handle the SQL Server database name and table.
Which will create linked tables from where a Query on those tables will be carried out. Any previous linked tables to be deleted.
Thanks,
Does anyone know if it's possible to create a Linked Table to a .csv file and a SQL Server linked table in VBA without using a DSN file?.
What I'm after is, if the above is possible, is for the user to be able to select a csv file from an Open File dialog to obtain the csv file path.
A userform will handle the SQL Server database name and table.
Which will create linked tables from where a Query on those tables will be carried out. Any previous linked tables to be deleted.
Thanks,