 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Artaud Guest
|
Posted: Tue Feb 22, 2005 6:04 pm Post subject: ODBC and DBase (new) |
|
|
Hello,
I use and create dbase files in my application, but another application
(that I would use)asks that my dbases files be connected with ODBC and then
it will be able to open my DBase files.
But I don't understand what is the component I must use and at running time
what must I do to connect my dbase files
Could you help me please it asks only to connect, but I don't know do it.
Thank you in advance
Patrick
|
|
| Back to top |
|
 |
Vladimir Stefanovic Guest
|
Posted: Tue Feb 22, 2005 6:33 pm Post subject: Re: ODBC and DBase (new) |
|
|
I never used bBASE (*.DBF) with ODBC, but it should
work like any other ODBC database (that's why ODBC
exists in the first place)
First you have to make an ALIAS (Data Source Name) at
ControlPanel / AdministrativeTools / Data Sources (ODBC)
Chose: System DSN tab /Add / Microsoft dBase driver ...
DataSource name: SOMESHORTNAME
Uncheck 'Use current directory' if you want to
Browse for the DBF otherwise
Then use your ALIAS (SOMESHORTNAME) in the
appropriate properties of your TADOTAble/TADOConnection
etc...
--
Best regards,
Vladimir Stefanovic
"Artaud" <artaud.patrick (AT) wanadoo (DOT) fr> wrote
| Quote: | Hello,
I use and create dbase files in my application, but another application
(that I would use)asks that my dbases files be connected with ODBC and
then it will be able to open my DBase files.
But I don't understand what is the component I must use and at running
time what must I do to connect my dbase files
Could you help me please it asks only to connect, but I don't know do it.
Thank you in advance
Patrick
|
|
|
| Back to top |
|
 |
Partaud Guest
|
Posted: Wed Feb 23, 2005 6:31 pm Post subject: Re: ODBC and DBase (new) |
|
|
Thank you very much I hope to have understood, I go to read again the doc
about OBDC
Thank you
Patrick
"Vladimir Stefanovic" <antivari (AT) po (DOT) sbb.co.yu> a écrit dans le message de
news: 421b7aec$1 (AT) newsgroups (DOT) borland.com...
| Quote: | I never used bBASE (*.DBF) with ODBC, but it should
work like any other ODBC database (that's why ODBC
exists in the first place)
First you have to make an ALIAS (Data Source Name) at
ControlPanel / AdministrativeTools / Data Sources (ODBC)
Chose: System DSN tab /Add / Microsoft dBase driver ...
DataSource name: SOMESHORTNAME
Uncheck 'Use current directory' if you want to
Browse for the DBF otherwise
Then use your ALIAS (SOMESHORTNAME) in the
appropriate properties of your TADOTAble/TADOConnection
etc...
--
Best regards,
Vladimir Stefanovic
"Artaud" <artaud.patrick (AT) wanadoo (DOT) fr> wrote in message
news:421b7407 (AT) newsgroups (DOT) borland.com...
Hello,
I use and create dbase files in my application, but another application
(that I would use)asks that my dbases files be connected with ODBC and
then it will be able to open my DBase files.
But I don't understand what is the component I must use and at running
time what must I do to connect my dbase files
Could you help me please it asks only to connect, but I don't know do
it.
Thank you in advance
Patrick
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|