Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

rethish

macrumors member
Original poster
Oct 16, 2008
41
0
Hi,

I have to access data from a MS Access database and also need to update it using Cocoa and Objective-c .
The MS Access database
is located in a remote MS Access server which is in windows platform. How
can I establish a connection with the remote server?

If I have to use ODBC , how can it be used?
when googled i can’t find any helpful documentation related to this
subject.

What all steps to be followed to create this application?

Thank you in advance.
Rethish.
 

ChrisA

macrumors G5
Jan 5, 2006
12,922
2,181
Redondo Beach, California
Hi,

I have to access data from a MS Access database and also need to update it using Cocoa and Objective-c .
The MS Access database
is located in a remote MS Access server which is in windows platform. How
can I establish a connection with the remote server?

If I have to use ODBC , how can it be used?

There are a few Open Source ODBC libraries. Use one of them. First get it to work as simple command line program Do the Cocoa stuff in the normal way then later put the two together.

A good place to search is at http://freshmeat.net and enter "ODBC" in the search field
 

larkost

macrumors 6502a
Oct 13, 2007
534
1
I don't believe that there are any open-source ODBC drivers for Access on the Mac side. There are a couple of commercial ones.

In the ODBC model the driver translates SQL into whatever the database (in this case MS Access) speaks "over the wire". The SQL does not (necessarily) go to the database. So you have to have a driver that works with that specific database type.

Then on top of the drivers you have and ODBC manager layer, and this MacOS X already has.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.