If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Access > Question of ODBC and SQL (Access and Oracle)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-21-10, 21:07
MattFriend MattFriend is offline
Registered User
 
Join Date: Jun 2010
Posts: 7
Question on ODBC and SQL Differences (Access and Oracle)

Hi Folks:

I work at a research facility that uses Oracle (version 11) for the storage of our data. I have been trying to learn more about Access 2010. It seems (so far) much easier to use Access 2010 to design client 'frontends', than the old version of Oracle Forms we have been using.

I have two questions I'm hoping someone will know:

1. If I link an Access front end to the Oracle database using ODBC, then package the front end as an application (with install program, etc. as output by access 2010), will the app when installed maintain the link to the Oracle database? (or will I have to install the ODBC Oracle driver and relink the tables afterwards?).

2. For my queries, am I able to use Oracle's version of SQL since the SQL is being passed to the Oracle database for processing, or do I have to use Access's ANSI-92?

Thanks for any help or info.

Matthew

Last edited by MattFriend; 06-21-10 at 21:37.
Reply With Quote
  #2 (permalink)  
Old 06-22-10, 02:42
HiTechCoach HiTechCoach is offline
Registered User
 
Join Date: May 2010
Posts: 600
Matthew,

I would urge you to get a test machine so that you can test your installer package


Quote:
Originally Posted by MattFriend View Post
I have two questions I'm hoping someone will know:

1. If I link an Access front end to the Oracle database using ODBC, then package the front end as an application (with install program, etc. as output by access 2010), will the app when installed maintain the link to the Oracle database? (or will I have to install the ODBC Oracle driver and relink the tables afterwards?).
You will need to install the Oracle ODBC driver and configure it on each machine.

When you launch the Access front end, it should use the ODBC connection without having to relink.

Quote:
Originally Posted by MattFriend View Post
2. For my queries, am I able to use Oracle's version of SQL since the SQL is being passed to the Oracle database for processing, or do I have to use Access's ANSI-92?
I have never used an Oracle back end before. I would say you need to just test it to see.


I normally do not use the P & D wizard in Access. It does a good job of installing the Access Runtime if needed. I find it is not good for installing updates. I owudl only use it for a first time install.

For deploying updates see Auto FE Updater
__________________
Boyd Trimmell aka HiTechCoach HiTechCoach.com (free access stuff)
Microsoft MVP - Access Expert
BPM/Accounting Systems/Inventory Control/CRM
Programming: Nine different ways to do it right, a thousand ways to do it wrong.
Binary--it's as easy as 1-10-11
Reply With Quote
  #3 (permalink)  
Old 06-22-10, 08:39
MattFriend MattFriend is offline
Registered User
 
Join Date: Jun 2010
Posts: 7
"You will need to install the Oracle ODBC driver and configure it on each machine.

When you launch the Access front end, it should use the ODBC connection without having to relink."

Thanks for the help HiTechCoach.

One question: if I install the latest Access Runtime, does that automatically install the ODBC drivers?

Thanks again,
Matt
Reply With Quote
  #4 (permalink)  
Old 06-22-10, 11:33
HiTechCoach HiTechCoach is offline
Registered User
 
Join Date: May 2010
Posts: 600
Quote:
Originally Posted by MattFriend View Post
One question: if I install the latest Access Runtime, does that automatically install the ODBC drivers?
Matt,

Nothing else is automatically installed.

I have found that it is very helpful to have test machine for testing deployments. I use a machine with a new install of Windows. I use software to make a image of the drive. This way I can easily reset it back for each new test.

I would suggest that you check into using SageKey's installer (click here).
__________________
Boyd Trimmell aka HiTechCoach HiTechCoach.com (free access stuff)
Microsoft MVP - Access Expert
BPM/Accounting Systems/Inventory Control/CRM
Programming: Nine different ways to do it right, a thousand ways to do it wrong.
Binary--it's as easy as 1-10-11
Reply With Quote
  #5 (permalink)  
Old 06-24-10, 09:50
MattFriend MattFriend is offline
Registered User
 
Join Date: Jun 2010
Posts: 7
Hi HiTechCoach:
Thanks for the advice. I've done some testing in the last few days and I believe Access will meet my needs. I was concerned that with linked tables all of the data having to be transferred to the local machine before the data could be manipulated by the Access SQL engine.

After further reading I discovered the option to "Pass-Through" data to the server (Oracle) so that the sql is run on the server and not on the local workstation.

When using "Pass-Through" I am able to write the SQL according to Oracles SQL standard instead of Access's (so my co-workers will be able to more easily understand it).

Thanks,
Matthew
Reply With Quote
  #6 (permalink)  
Old 06-24-10, 11:59
HiTechCoach HiTechCoach is offline
Registered User
 
Join Date: May 2010
Posts: 600
Sounbds like you are making progress.

Good luck with your project.
__________________
Boyd Trimmell aka HiTechCoach HiTechCoach.com (free access stuff)
Microsoft MVP - Access Expert
BPM/Accounting Systems/Inventory Control/CRM
Programming: Nine different ways to do it right, a thousand ways to do it wrong.
Binary--it's as easy as 1-10-11
Reply With Quote
Reply

Tags
access, link, odbc, oracle

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On