Page 1 of 1

TmyDump problem

Posted: Mon 21 Feb 2005 07:23
by kenny
Hi,
I'm using delphi 5, MyDac 3.50.0.16, MySQL 4.1.8

When I perform

With MyDump1 Do Begin
Backup;
SQL.SaveToFile('C:\MyBackup.sql');
End;

Sometime it occur the error : "Cannot create file"
Why? What is the maximum limit of MyDump1.SQL.Text?

Thanks!

Posted: Mon 21 Feb 2005 10:15
by Ikar
This message raises on try to execute TStringList.SaveToFile (TFileStream.Create(FileName, fmCreate)). Most probably, your file is locked by another process.


> What is the maximum limit of MyDump1.SQL.Text?

At the common case, by TStringList capacity; i.e. by the volume of avaible memory.