Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delphi 7 / Rave: ERaveException Suspend call not valid in this event

Status
Not open for further replies.

jamcan2

Programmer
Apr 5, 2004
4
AU
My current version of Rave is 5.1.3 BE and the windows application is coded with Delphi 7.

I recently upgrade from Rave version 5.0 and on recompiling an application, when the RvProject.Execute statement is executed an ERaveException Suspend call not valid in this event is raised. The application contains many other reports that still work fine, the difference is the particular problem report uses a TrvCustomConnection, and the working reports use TrvDataSetConnection s.

No changes have been made to the rav file or the related Delphi code. The report worked fine before, and the *.rav file still looks OK.

Now having tried to step through the code an Access Violation is raised on the same statement when reading from address 00000074.

I have looked at the RVClass.pas to see if I can work out what has caused this exception to be raised, and it appears the report module may be in the SuspendState but it is not meant to be. However I haven't worked out how / when the SuspendState is assigned. I'm stumped :~

Please help me get back on track.

Thanks
 
Solved it :)

All I needed to do was compile the RaveProject then all worked fine.

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top