I am attempting to use two workspaces to conduct different transactions on two different databases. The reason I am using two workspaces is the following: the user creates the initial workspace that they use for all of their database inserts, updates, etc. The second is created without the user's knowledge to create a table and macro using an administrative password that is hard-coded. (We don't want to allow our users this type of access.) However, when I attempt to use
Database.Execute SQLString, dbSQLPassThrough
I get the error: Operation is not supported for this type of object.
Any ideas why I would get this error? Is it because I am setting the first workspace by simply saying
Set Workspace = Workspaces(0) ?
Any ideas would be greatly appreciated. Thanks.
TJLMO
Database.Execute SQLString, dbSQLPassThrough
I get the error: Operation is not supported for this type of object.
Any ideas why I would get this error? Is it because I am setting the first workspace by simply saying
Set Workspace = Workspaces(0) ?
Any ideas would be greatly appreciated. Thanks.
TJLMO