Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to use TDBF component to create DBF file from dbgrid

320 views
Skip to first unread message

Justin Ting Tao Siang

unread,
Sep 11, 2002, 10:07:40 PM9/11/02
to
Greetings. I downloaded a TDBF component from soureforge and want to use it
to create DBF file from dbgrid.
Could someone give me an example ? thanks.


Ken White

unread,
Sep 12, 2002, 3:03:55 PM9/12/02
to
Justin,

Your question doesn't make sense... A DBGrid displays
data from an existing database file; it doesn't accept data
without a database connection. So, there can't be anything
in the DBGrid to create a DBF from.

What exactly are you trying to do?

Ken
---
Ken White
kwh...@adpsi.com

Clipper Functions for Delphi and C++ Builder
http://www.adpsi.com

Justin Ting Tao Siang

unread,
Sep 13, 2002, 6:47:59 AM9/13/02
to

"Ken White" <kwh...@adpsi.com> 写入消息新闻
:3d80e51a$1...@newsgroups.borland.com...

> Your question doesn't make sense... A DBGrid displays
> data from an existing database file; it doesn't accept data
> without a database connection. So, there can't be anything
> in the DBGrid to create a DBF from.
>
> What exactly are you trying to do?

Hi .. Ken...

I mean I have a dbgrid displaying some data which is from the excution of a
SQL statement on
Oracle database. Then I want to provide a function that allows the user
saves the result(data on dbgrid) as a file of dbf format in local machine.

thanks ..

Justin Ding Dao Xiang


Justin Ting Tao Siang

unread,
Sep 13, 2002, 11:47:54 PM9/13/02
to

"Ken White" <kwh...@adpsi.com> 写入消息新闻
:3d81ecfe$1...@newsgroups.borland.com...
> What do you intend to use as the DBF driver? The
> BDE? A third-party tool such as Advantage? We'll
> need to know that before we can provide much help...

Well, Ken...

I am not really sure about the DBF driver. Actually I think I am prefer
third-party tool which packages the functions and do not need to configure
BDE. That is why I search the Internet and download the TDBF component for
Delphi 5. I did not use "Advantage" before, where should I download
"Advantage" and the Demo of exporting data as DBF file?

Thanks .


Justin Ting Tao Siang

unread,
Sep 13, 2002, 11:52:23 PM9/13/02
to

Well, I tried TDBF component. I can read a dbf file from local machine
according the reference of its demo. But I don't know how to create a dbf
file with desired contents.

Ken White

unread,
Sep 16, 2002, 11:46:41 AM9/16/02
to
Justin,

> Delphi 5. I did not use "Advantage" before, where should I download
> "Advantage" and the Demo of exporting data as DBF file?

You can find Advantage at http://www.advantagedatabase.com.
The local client version is free (including distribution rights).

Advantage's TAdsTable or TAdsQuery will both easily allow
you to create DBF files in code, as well as creating CDX or
NTX index files.

AFA TDBF, I can't help you at all there, as I've never even
heard of it.

Justin Ting Tao Siang

unread,
Sep 16, 2002, 10:53:05 PM9/16/02
to
Thank you so much....

:)

"Ken White" <kwh...@adpsi.com> 写入消息新闻
:3d85fce0$1...@newsgroups.borland.com...

0 new messages