OnSaveReport problem ?
Hello,
I want save report in database but my problem is ,
if user in designer create new report and click save button for first time
(in fact SaveAs must be true), allways SaveAs is false and my report
overwrite
again and again .
whats problems how can correct this ?
regards,
m.t
//====================================
bool __fastcall TForm1::frxDesigner1SaveReport(TfrxReport *Report,
bool SaveAs)
{
bool Result;
if ( SaveAs )
{
.
. // New report
}
else
{
.
. // Overwrite exist report
}
return Result;
}
I want save report in database but my problem is ,
if user in designer create new report and click save button for first time
(in fact SaveAs must be true), allways SaveAs is false and my report
overwrite
again and again .
whats problems how can correct this ?
regards,
m.t
//====================================
bool __fastcall TForm1::frxDesigner1SaveReport(TfrxReport *Report,
bool SaveAs)
{
bool Result;
if ( SaveAs )
{
.
. // New report
}
else
{
.
. // Overwrite exist report
}
return Result;
}
Comments
http://www.fast-report.com/en/forum/?p=/discussion/2461