This works for me:
' Start Outlook.
' If it is already running, you'll use the same instance...
Dim olApp As Outlook.Application
Set olApp = CreateObject("Outlook.Application")
' Logon. Doesn't hurt if you are already running and logged on...
Dim olNs As...
This SQL statement works and connects on the fly to an external database:
SELECT * FROM ([ODBC;DRIVER={Microsoft ODBC for Oracle};SERVER=servername;UID=myID;PWD=myPassword].ownername.ExternalTable
I have lost the source example for this code. I want to link to an external Access database usin...
I have a simple VB6 application that opens an Access 2000 DB and runs two macros.
When someone is logged on, I can set a scheduled task to run the application as anyone with a proper network password and it works fine.
But when no one is logged onto the computer and the scheduled task is set...
In Access you would create a querydef instead of creating a view.
But if you are linked to an Oracle DB or another DB that uses views, then you can create a pass-through query that bypasses the JET Engine and goes straight to the underlying DB. Then you can use the Create View syntax.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.