Hello. I have written a reporting application in Access 2003 that connects to Oracle via ODBC in order to pull in data that is then displayed to users as Access reports.
I have used mainly DAO to connect to Oracle, although I am starting to re-write everything in ADO (sorry, I'm a bit behind the times!).
My issue is, for each of the queries/reports I have set up, the connection to Oracle is initiated once or twice within the procedures that run. I would like to be able to create a connection to Oracle when the user starts the application, that remains open for the life of the program, and therefore avoid having mutiple connections opening and closing frequently.
Can anyone give me any general pointers on how to go about doing this? I have searched the forums here, but haven't found anything about this, but if anyone can point me in the direction of relevant threads that would be great.
Thanks.
I have used mainly DAO to connect to Oracle, although I am starting to re-write everything in ADO (sorry, I'm a bit behind the times!).
My issue is, for each of the queries/reports I have set up, the connection to Oracle is initiated once or twice within the procedures that run. I would like to be able to create a connection to Oracle when the user starts the application, that remains open for the life of the program, and therefore avoid having mutiple connections opening and closing frequently.
Can anyone give me any general pointers on how to go about doing this? I have searched the forums here, but haven't found anything about this, but if anyone can point me in the direction of relevant threads that would be great.
Thanks.