Board index » delphi » BDE - Paradox - ODBC driver for Paradox - Error (urgent)

BDE - Paradox - ODBC driver for Paradox - Error (urgent)

Hi,

I work with Delphi 3 C/S and use Paradox databases.
I access Paradox databases using BDE32 and I don't have any problem.

I need access these Paradox databases using ODBC driver for Paradox. I can
open the Paradox databases by Database Explorer, but when I try access any
table, I receive a Database Engine Error: BDE Error 10039 {$27} {37}
"Invalid Table Name".
I try change the Paradox version (7.x, 5.x, 4.x) and try change some ODBC
properties, but I continue receiving this error.

What can be wrong?

Where can I find a ODBC driver for Paradox to Paradox version 7.x ?

 

Re:BDE - Paradox - ODBC driver for Paradox - Error (urgent)


In article <7ds94a$ao...@forums.borland.com>,
  "Nelson Henrique" <nel...@datagricolae.com.br> wrote:

Quote
> I need access these Paradox databases using ODBC driver for Paradox. I can
> open the Paradox databases by Database Explorer, but when I try access any
> table, I receive a Database Engine Error: BDE Error 10039 {$27} {37}
> "Invalid Table Name".

Use the BDE Administrator to set the
Paradox LANGDRIVER to "Paradox 'ascii'"
and the LEVEL to 5
and recreate the tables.

(LANGDRIVER and LEVEL are found under
Configuration / Drivers / Native / PARADOX)

You _must_ recreate the tables when the above settings
are in effect, because those settings are written into
the table & can't be changed afterwards.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

Re:BDE - Paradox - ODBC driver for Paradox - Error (urgent)


Quote

>Where can I find a ODBC driver for Paradox to Paradox version 7.x ?

The only ODBC driver for Paradox 7 tables is from Intersolve
http://www.intersolv.com

--
Brian Bushay (TeamB)
Bbus...@NMPLS.com

Re:BDE - Paradox - ODBC driver for Paradox - Error (urgent)


In article <7dumup$3f...@nnrp1.dejanews.com>,

Quote
  jamesfaj...@my-dejanews.com wrote:
> In article <7ds94a$ao...@forums.borland.com>,
>   "Nelson Henrique" <nel...@datagricolae.com.br> wrote:

> > I need access these Paradox databases using ODBC driver for Paradox. I can
> > open the Paradox databases by Database Explorer, but when I try access any
> > table, I receive a Database Engine Error: BDE Error 10039 {$27} {37}
> > "Invalid Table Name".

> Use the BDE Administrator to set the
> Paradox LANGDRIVER to "Paradox 'ascii'"
> and the LEVEL to 5
> and recreate the tables.

> (LANGDRIVER and LEVEL are found under
> Configuration / Drivers / Native / PARADOX)

> You _must_ recreate the tables when the above settings
> are in effect, because those settings are written into
> the table & can't be changed afterwards.

Hooray!!! - thanks to you I have solved a problem I have been beavering away
at since January!  How did you hit upon changing the language drivers?  I
looked all over the place and asked in the borland.com newsgroups and got
nowhere...

Actually life isn't quite as easy as your message implies.  You have to change
the language driver of the ODBC driver as well.  Here's what I did:

1) changed the drivers /native /paradox langdriver to "Paradox 'ascii'"
2) created a paradox table using the native driver
3) created an odbc (user) dsn to access the paradox table
4) changed the odbc driver to use "Paradox 'ascii'" as well
5) opened the dsn and then the table

And there were no error messages!

It looks like you have to select a common language driver for both the native
driver and the odbc driver - the defaults are inappropriate.

Also you may have to be careful about the ODBC's understanding of indices.  If
you create a primary key using the BDE native driver, the ODBC reports that it
is a unique non-primary key!

I am not sure that is a major problem but I think its worth knowing about.

The other possible incompatibility is an AUTOINC field.  As it turns out this
is handled properly and has not caused a problem in my tests.

Thanks again

Mark

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

Re:BDE - Paradox - ODBC driver for Paradox - Error (urgent)


I heard a rumour that Access 2000 will be
able to access level 7 tables via odbc.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

Other Threads