Hello again. I'm trying to use VBA to run SQL that will run a 'Make Table' query and create a table in another database. Unfortunately, both the database path and database name if the target database contain spaces. This is giving me a headache trying to come up with a syntax that will not give the 'Invalid bracketing' error. I've tried brackets, apostrophes, double quotes, etc. and cannot find the answer.
If the path to the target database is this "c:\target database path" and the name of the target database is "target database.accdb" and the target table name is "new tab", then what would be the proper syntax?
e.g., Select F1, F2, F3 into [new tab] In 'c:\target database path.target database.accdb'
Thanks.
If the path to the target database is this "c:\target database path" and the name of the target database is "target database.accdb" and the target table name is "new tab", then what would be the proper syntax?
e.g., Select F1, F2, F3 into [new tab] In 'c:\target database path.target database.accdb'
Thanks.