ADO saving/loading

Forum related to ADO

Moderators: gto, cipto_kh, EgonHugeist

SilverCrest
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 25.05.2012, 01:56

ADO saving/loading

Postby SilverCrest » 25.05.2012, 02:09

Hello,

I just recently starting exploring ZeosLib V.7 with Delphi XE2.

My question is does ZTable support ADOTable SaveToFile / LoadFromFile functions?

What I would like to do is having MSAccess DB connected via ZConnection and ZTable to save open table to file and then load it back to ZTable after disconnecting from DB.

Is there a way to do so?


Kind regards, SilverCrest

User avatar
EgonHugeist
Zeos Dev Team
Zeos Dev Team
Posts: 1701
Joined: 31.03.2011, 22:38

Postby EgonHugeist » 25.05.2012, 12:48

SilverCrest,

an example:

(ADOTable.Fields[0] as TBlobStream).LoadFromFile(AFielname); should work. It's the same like in all DB units.

Michael
King regards, Michael

You want to help? viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image

SilverCrest
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 25.05.2012, 01:56

Postby SilverCrest » 26.05.2012, 16:33

Michael,

thank you for example, however I would like to save _entire_ table to file.
ADOTable that comes with Delphi has function SaveToFile(filename) and LoadFromFile(filename), is there anything similar in Zeoslib?

Kind regards, SilverCrest

User avatar
EgonHugeist
Zeos Dev Team
Zeos Dev Team
Posts: 1701
Joined: 31.03.2011, 22:38

Postby EgonHugeist » 27.05.2012, 00:07

SilverCrest,

oh i missunderstud the purpose of your question. I think we do not support that feature actually. Can you tell me which format that exported files have? An example eventually?

Michael
King regards, Michael

You want to help? viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image


Return to “ADO”

Who is online

Users browsing this forum: No registered users and 1 guest