C
Corey-g
Hi All,
I have been asked to develop an app that will use Access as the FE,
connecting to Oracle BE. I will need to install this at a location where
users will not have Access installed, and are unable to install anything
(extremely locked down environment - can write to local C;\ drive, but can't
touch the registry).
I was reading through all of the posts regarding connecting Access to Oracle,
but I didn't see any posts similar to what I am working on. I have put some
thought into how I can make this work, and was hoping some-one might be able
to qualify my thoughts or point me in the right direction...
First off, as I can't install the app (touch the registry), or create a DSN,
I had thought I could do all connecting via VBA. (This is where I started to
have questions - can I create a connection without linking tables? And if so,
can I just use pass-through queries and recordsets - rather than linking
tables directly?) Should also add that I am using ADO rather than DAO (Does
this matter - is it possible?).
So, If I can create a link to the Oracle BE without linking the tables, am I
able to link all the forms / reports etc... to recordsets returned from
Oracle? Will I be able to make updates to the data in the BE?
I had figured that if I create an Access runtime MDE, and was able to make
the DB connection via code, I could overcome the infrastructure issues. Does
that sound right?
Here is how I thought it might flow:
1. User launches MDE
2. Prompt for UID & PWD
3. Store these for duration of application session
4. Connect to Oracle BE (using supplied UID & PWD - should every user have
valid Oracle account?) & validate UID & PWD - return User Type (for privledge
level)
5. Based on type returned, show appropriate menu / items
6. When user clicks on link to data-entry, reports, etc..., get a recordset
from Oracle using VBA and link to the form / report.
Is this how I should be doing this? Also, in #4 the connection to the BE
should not have 1 UID / PWD for all connections to the DB as this is bad
security - correct?
Thanks in advance for any help / thoughts / comments.
Corey
I have been asked to develop an app that will use Access as the FE,
connecting to Oracle BE. I will need to install this at a location where
users will not have Access installed, and are unable to install anything
(extremely locked down environment - can write to local C;\ drive, but can't
touch the registry).
I was reading through all of the posts regarding connecting Access to Oracle,
but I didn't see any posts similar to what I am working on. I have put some
thought into how I can make this work, and was hoping some-one might be able
to qualify my thoughts or point me in the right direction...
First off, as I can't install the app (touch the registry), or create a DSN,
I had thought I could do all connecting via VBA. (This is where I started to
have questions - can I create a connection without linking tables? And if so,
can I just use pass-through queries and recordsets - rather than linking
tables directly?) Should also add that I am using ADO rather than DAO (Does
this matter - is it possible?).
So, If I can create a link to the Oracle BE without linking the tables, am I
able to link all the forms / reports etc... to recordsets returned from
Oracle? Will I be able to make updates to the data in the BE?
I had figured that if I create an Access runtime MDE, and was able to make
the DB connection via code, I could overcome the infrastructure issues. Does
that sound right?
Here is how I thought it might flow:
1. User launches MDE
2. Prompt for UID & PWD
3. Store these for duration of application session
4. Connect to Oracle BE (using supplied UID & PWD - should every user have
valid Oracle account?) & validate UID & PWD - return User Type (for privledge
level)
5. Based on type returned, show appropriate menu / items
6. When user clicks on link to data-entry, reports, etc..., get a recordset
from Oracle using VBA and link to the form / report.
Is this how I should be doing this? Also, in #4 the connection to the BE
should not have 1 UID / PWD for all connections to the DB as this is bad
security - correct?
Thanks in advance for any help / thoughts / comments.
Corey