BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

dfXML

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier)
View previous topic :: View next topic  
Author Message
xtcsuk
Guest





PostPosted: Thu May 19, 2005 8:43 am    Post subject: dfXML Reply with quote




D6 Ent.

I am trying to do
ClientDataSet.SaveToFile('test.xml', dfXML).
this works ok with a master detail where 2 details connected to the master.
The same command does not work with there 5 details connected to the master
but if I change dfXML to dfBinary it works.

Is there any limit in details sets when saving in .XML format? Or may be
there is something wrong with app. itself.

regards


--
please remove _1 from email address.


Back to top
Kostas Terzides
Guest





PostPosted: Thu May 19, 2005 9:49 am    Post subject: Re: dfXML Reply with quote



xtcsuk wrote:
Quote:
D6 Ent.

I am trying to do
ClientDataSet.SaveToFile('test.xml', dfXML).
this works ok with a master detail where 2 details connected to the master.
The same command does not work with there 5 details connected to the master

Is there an error message?. What do you mean it doesn't work?

Quote:
but if I change dfXML to dfBinary it works.

Is there any limit in details sets when saving in .XML format? Or may be
there is something wrong with app. itself.

regards



Try using 2005 version of midas.dll found at:
http://www.distribucon.com/midas.html
(I don't know if this will address your problem)

Back to top
xtcsuk
Guest





PostPosted: Thu May 19, 2005 9:50 am    Post subject: Re: dfXML Reply with quote



Blank message, I've got wrapped in try/except block, its coming up with
blank message:
try
{stuff}
except
on E : Exception do
begin
ShowMessage(E.Message);
end;
end;

regards

--
please remove _1 from email address.
"Kostas Terzides" <kterz (AT) otenet (DOT) gr> wrote

Quote:
xtcsuk wrote:
D6 Ent.

I am trying to do
ClientDataSet.SaveToFile('test.xml', dfXML).
this works ok with a master detail where 2 details connected to the
master. The same command does not work with there 5 details connected to
the master

Is there an error message?. What do you mean it doesn't work?

but if I change dfXML to dfBinary it works.

Is there any limit in details sets when saving in .XML format? Or may be
there is something wrong with app. itself.

regards


Try using 2005 version of midas.dll found at:
http://www.distribucon.com/midas.html
(I don't know if this will address your problem)



Back to top
Kostas Terzides
Guest





PostPosted: Thu May 19, 2005 10:19 am    Post subject: Re: dfXML Reply with quote

xtcsuk wrote:
Quote:
Blank message, I've got wrapped in try/except block, its coming up with
blank message:
try
{stuff}
except
on E : Exception do
begin
ShowMessage(E.Message);
end;
end;

regards


If 2005 version of midas.dll doesn't work, then may be you could show us
some actual code

Back to top
xtcsuk
Guest





PostPosted: Thu May 19, 2005 10:59 am    Post subject: Re: dfXML Reply with quote

Thanks

After some investigation there seems to be a problem in Master -> Details
setup of the app, which causes this peculiar behaviour.

regards

--
please remove _1 from email address.
"Kostas Terzides" <kterz (AT) otenet (DOT) gr> wrote

Quote:
xtcsuk wrote:
Blank message, I've got wrapped in try/except block, its coming up with
blank message:
try
{stuff}
except
on E : Exception do
begin
ShowMessage(E.Message);
end;
end;

regards


If 2005 version of midas.dll doesn't work, then may be you could show us
some actual code



Back to top
Kostas Terzides
Guest





PostPosted: Thu May 19, 2005 11:34 am    Post subject: Re: dfXML Reply with quote

xtcsuk wrote:
Quote:
Thanks

After some investigation there seems to be a problem in Master -> Details
setup of the app, which causes this peculiar behaviour.

regards


FWI, there is a known (although undocumented) problem related to how the
link field should be named (it should have the same name as the master
field). That applies to dbexpress and ADO IIRC. Take a look at QC 1488,
it may interest you

Back to top
Bill Todd
Guest





PostPosted: Thu May 19, 2005 2:17 pm    Post subject: Re: dfXML Reply with quote

A number of problems have been reported with the XML format in
ClientDataSet. Use the binary format. You will save yourself a lot of
trouble.

--
Bill Todd (TeamB)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.