realbasic-plugins
[Top] [All Lists]

Re: Accessing an ODBC database programmatically (Windows)

To: realbasic-plugins at lists dot realsoftware dot com
Subject: Re: Accessing an ODBC database programmatically (Windows)
From: Jonathan Monroe <realbasic at actualtechnologies dot com>
Date: Wed, 8 Jun 2005 10:42:54 -0700
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <20050608170042 dot 7039EA2F455 at lists dot realsoftware dot com>

On Jun 8, 2005, at 10:00 AM, Malcolm Cowen wrote:

Tried it, it produces the message "Could not establish connection"
not too helpful!

One thing you could try is to do a DSN-less connection, where you dully specify the connection in the RB code instead of selecting the DSN in the ODBC chooser. It might at least give you more information:

db.DataSource = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=c:\Northwind.mdb"

Jonathan Monroe
Actual Technologies - ODBC for OS X
http://www.actualtechnologies.com
monroej at actualtechnologies dot com

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>