HELP : Error launching Reportsmith
Quote:
> Hi there ,
> I have a button on a form which launches three Reportsmith reports one
> after another. When the first one has printed , I get a message box
> with the message 'Component requires a later version of Reportsmith'
> I am using version 2.5.1 , the version on my Delphi CD. I think it may
> be that i need to pause the second report until the first one has
> finished ..? Any ideas....has anybody else encountered this problem ?
> --
> Peter Robinson
I've never encountered that error, but I can tell you two things. 1, there is a ReportSmith patch (I'm not really sure what it fixes
though). 2, you are correct about needing to pause. There is no command that I could find in Delphi which is comparable to a
Paradox sleep(). My solution was to use the Windows API function WAITMESSAGE. This waits for ReportSmith to finish its task.
I'm not really sure if this is the best API command, but it seemed to solve the problem.
Jon