ADO saving/loading

Forum related to ADO

Moderators: gto, cipto_kh, EgonHugeist

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

ADO saving/loading

Post by SilverCrest »

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 Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

SilverCrest,

an example:

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

Michael
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/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

Post by SilverCrest »

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 Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

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
Best regards, Michael

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

Image
Post Reply