Hi everyone... I have a VBS script file which is used to perform scheduled tasks against data in an Access database. The machine the script is installed on has only got the runtime version of Access on it. Is there an easy way to call a query contained within the database from the VBS script via ADO? At present I am executing the SQL directly from the script, but I want to be able to modify the SQL from in Access and have the new version trigger without having to go in and edit my VBS file. I'm sure it should be fairly simple to achieve and I know how to do it from inside Access with VBA, I just can't seem to find similar functionality in ADO.
Any help would be much appreciated!
Edit: I know how to do it through DAO, but I don't want to have to rewrite the whole script.