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

crystal report limit with vb??

Status
Not open for further replies.

vz

MIS
Jul 31, 2001
131
US
I have a vb project with about 38 crystal reports and it won't let me add anymore, however it will let me add datareports. I thought this was weird so i added the same reports to another project and it did the exact same thing. I was wondering if anyone knew if there was a limit on the number of crystal reports one can pull in and if there is a limit, is there a way around it?
Thanks in advance
 
Hi,
I have a vbproject which let me open around 20 reports. After that, I haven't been able to open another report. I got error 20554. I checked out seagate support and they say you can open the report as a temporary copy (unlimited).
Here's my post on tek-tip with the link. I haven't been able to figure out what component or reference I need to enable this feature. If you can figure it out please let me know and I'll do the same.

thread149-191320
 
vz,

How exactly are you 'adding' the reports - what steps.
Are you using the RDC and creating DSR files?
What error message or failure do you get?

ITDev,
Do you mean opening them all simultaneously at runtime or at designtime? Which integration method are you using ( faq149-237 )? Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Well I add the reports by right clicking in vb and choosing add, then i choose more active x designers, and then i choose crystal reports 8.5. Then it comes up with the menu that asks if u want to create a new report with the wizard or if you want to open and existing report etc., and i always choose that i want to open and existing report and then i just save it in vb, it saves as a dsr. I was not getting any error messages until i hit 30 some reports and then one time i got a message that said out of memory and it locked me up and i had to reboot, and everytime after that i could not add a report it doesn't give me a message but when i choose open and existing report and click ok that same screen pops back up over and over and i tried to create a new report from vb but it won't let me, but it will let me create a data report. I have tied to add the same reports to another project and the exact same thing happend. I don't open them unless a command button is clicked, there is a command button for each report. I am using vb 6.0 and crystal reports 8.5. I am not sure of the integration but here is the line of code that open one of the reports:

Private Sub cmdAllProblemsByAccountNumberAndDateEntered_Click()
iReportCode = 3
ReportViewer.Show
End Sub

I have a case statement with all of the report and a number that they correspond to.
Thanks for your help!
 
With DSRs, you are using the RDC integration technique. I have never tried adding that many reports to an RDC project, so I can't speak from experience. I will have to see what I can find out. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Hi Ken,
Thank you very much for trying to help me, I have been struggling with this for a couple of weeks now. Please let me know if you are able to find something out.
thanks
 
I won't be able to test this for a while. Anyone else use the RDC to add this many reports? If no one responds, you might ask a new question in the integration forum with a heading that says:

RDC chokes on 38+ reports? Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top