Board index » delphi » Top Urgent !!!!! DDE Delphi / ReportSmith

Top Urgent !!!!! DDE Delphi / ReportSmith

Hallo Delphi / ReportSmith / DDE specialist's

I develope an delphi application and use the ReportSmith to calculate and
printout reports.

My intention is as following:
In a loop I like to calculate 0..n variable couples, send the couples by DDE
to the ReportSmith, start the ReportSmith runtime and printout the different
report for every variable couple.

My problem is as following:
In my loop I can start the ReportSmith only three times. After three times the
connection between my Delphi application and the ReportSmith seems to be
closed. That means, I get maximum three reports. After that I have to stop
and start my applicatiation again that I can generate and printout the next
three reports.
Below you will find my implementation in short form:

********************************************************************************
var
   VeranNr, VeranVer: string;
repeat
  VeranNr := Table1.FieldByName('VeranNr').AsString;
  VeranVer := Table1.FieldByName('VeranVer').AsString;
  Report1.InitialValues.Add('@VeranNr = <' + VeranNr + '>');
  Report1.InitialValues.Add('@VeranVer = <' + VeranVer + '>');
  Report1.Run;
  Table1.Next;
until Table1.Eof;

********************************************************************************

If you know where the problem could be, please let me know by E-Mail.
Thank you very much for every help in this matter.

Best regards,
Kurt Elmiger from Switzerland,   E-Mail :   k...@esec.mhs.compuserve.com

 

Re:Top Urgent !!!!! DDE Delphi / ReportSmith


Hallo Delphi / ReportSmith / DDE specialist's

I develope an delphi application and use the ReportSmith to calculate and
printout reports.

My intention is as following:
In a loop I like to calculate 0..n variable couples, send the couples by DDE
to the ReportSmith, start the ReportSmith runtime and printout the different
report for every variable couple.

My problem is as following:
In my loop I can start the ReportSmith only three times. After three times the
connection between my Delphi application and the ReportSmith seems to be
closed. That means, I get maximum three reports. After that I have to stop
and start my applicatiation again that I can generate and printout the next
three reports.
Below you will find my implementation in short form:

********************************************************************************
var
   VeranNr, VeranVer: string;
repeat
  VeranNr := Table1.FieldByName('VeranNr').AsString;
  VeranVer := Table1.FieldByName('VeranVer').AsString;
  Report1.InitialValues.Add('@VeranNr = <' + VeranNr + '>');
  Report1.InitialValues.Add('@VeranVer = <' + VeranVer + '>');
  Report1.Run;
  Table1.Next;
until Table1.Eof;

********************************************************************************

If you know where the problem could be, please let me know by E-Mail.
Thank you very much for every help in this matter.

Best regards,
Kurt Elmiger from Switzerland,   E-Mail :   k...@esec.mhs.compuserve.com

Re:Top Urgent !!!!! DDE Delphi / ReportSmith


Kurt:

We have had problems with Delphi 1 and Reportsmith running multiple
reports. It seems the resources get eaten up after 3 reports and you
have to reboot Windows 95. We do not see the problem win Win. 3.11 or
Win 3.10.

Is this your situation?

Can anyone else confirm this bug?

Quote
.,@compuserve.com wrote:

> Hallo Delphi / ReportSmith / DDE specialist's

> I develope an delphi application and use the ReportSmith to calculate and
> printout reports.

> My intention is as following:
> In a loop I like to calculate 0..n variable couples, send the couples by DDE
> to the ReportSmith, start the ReportSmith runtime and printout the different
> report for every variable couple.

> My problem is as following:
> In my loop I can start the ReportSmith only three times. After three times the
> connection between my Delphi application and the ReportSmith seems to be
> closed. That means, I get maximum three reports. After that I have to stop
> and start my applicatiation again that I can generate and printout the next
> three reports.

--
___________________
Regards,
Dave Robinson
Amber Computer Systems Inc.

WEB page: http://www.acsi.bc.ca/
Components Page: http://www.acsi.bc.ca/comp01.html

Other Threads