| View previous topic :: View next topic |
| Author |
Message |
xtcsuk Guest
|
Posted: Thu May 19, 2005 8:43 am Post subject: dfXML |
|
|
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
|
Posted: Thu May 19, 2005 9:49 am Post subject: Re: dfXML |
|
|
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
|
Posted: Thu May 19, 2005 9:50 am Post subject: Re: dfXML |
|
|
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
|
Posted: Thu May 19, 2005 10:19 am Post subject: Re: dfXML |
|
|
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
|
Posted: Thu May 19, 2005 10:59 am Post subject: Re: dfXML |
|
|
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
|
Posted: Thu May 19, 2005 11:34 am Post subject: Re: dfXML |
|
|
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
|
Posted: Thu May 19, 2005 2:17 pm Post subject: Re: dfXML |
|
|
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 |
|
 |
|