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

Incompatabilities between CR8.0 and CR5.0 Preview control.

Status
Not open for further replies.

jlbsloan

Programmer
Mar 1, 2001
45
US
Does anyone know of a resource that will tell me the things in CR 8.0 that I can not use in a CR 5.0 preview control in an application. I am having trouble with any type of looping structure and multiple value parameters. The report works fine in CR 8.0 but CR 5.0 gives an error on the formula with a looping structure(FOR or WHILE) and only uses the first value of a multiple value parameter. I am trying to use the looping structure to concantenate the elements of the multi value parameter array into a string so that I can display the Items selected in a text object. This is part of my record selection formula for the muli value parameter :

AND
(if{?Pm-?Priority}="All" then true else Call.PriorityCode}in{?Pm-?Priority}[1 to count({?Pm-?Priority})])
AND
etc...

Thanks for any help offered.


 
I don't think you can run a CR 8 report with the CR5 viewer at all, officially. So I am not sure how to answer your question.

Are you launching from an application?
What integration method are you using. Ken Hamady
Crystal Reports Training/Consulting and a
Quick Reference Guide to VB/Crystal (including ADO)
 
Hello

Crystal reports, whether from the designer or from a viewer or Active X control, cannot open a report from a newer version without errors.

Crystal reports 5.0 does not have any looping capabilities in it at all, this is brand new in version 8, so will always error out on it.

The best thing to do is to update your app to the latest control you have, ie version 8.0.

Does this answer your question? E. McEvoy
Crystal Reports Consultant
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top