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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CR v6 and v7 problems?

Status
Not open for further replies.

fatbloke

Programmer
Sep 4, 2000
47
GB
Reports designed in CR v6. The main report prints Oracle data. Each detail line contains a subreport which retrieves relevant details from an AS400 machine. StoreNumberVar is used to save a value from the subreport so that it can be totalled on the main report.

This all works fine when called from CR6 designer.

An application has been written in Delphi to call the VCL component to allow users to access the report(s). When called through this mechanism, the report totals are incorrect. What has happened is that the value returned from EACH call to the subreport is the value of the very last record on the report. All other functionality is correct, but the sub-totals and grand total are not.

I tried to run the same report using CR v7 designer, and it produced identical results. This suggests that the VCL element believes that it is running at version 7, and not 6. Is this possible, or is it more likely that the installations on my machine have become confused?
If the latter is the case, please advise on the likely sources of such confusion.

I have created a temporary report using v7, utilising Global and Shared variables. This report functions correctly within the CR7 designer, and also when called from the VCL element. Unfortunately we cannot use version 7 for the project implementation, so we urgently need a resolution to this query.

TIA
[sig][/sig]
 
Sorry, spotted the solution to this one myself - using the wrong version of file crpe32.dll (7.0.100.15 rather than 6.0.1.135). :-( [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top