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

"Memory Full" msg in VB when Using Crytsal 4. reports with Crytsal 8 1

Status
Not open for further replies.

hdman

Technical User
Nov 9, 2005
1
US
Using VB Enterprise with Service Pack 4, Crystal Reports 8. Had previously designed reports using Crystal 4.3, what ships with VB 6. Now trying out Crystal 8. Added Crystal 8 report, opened existing Crystal 4.3 report, created accompanying form for new report. When I call up the new form in VB, I get a "memory full" error.

I tried deleting all of the fields on the report and ran it - still get error. I have ample memory at 128MB ram, and other apps not opened. It runs okay in the old Crystal reports, but not the new one?!

When I run report outside of VB with Crytstal 8, no problem - report generates fine.

What is going on here and how do I fix this problem.

Thanks in advance!
 
You might try saving it as a V8 report and then try running it.

However, I have heard that V8 sometimes has trouble converting older formats without an intervening version (like 4-6 then 6-8) but it doesn't hurt to try. Once it is saved in V8 format, V8 shouldn't have trouble running it from the print engine.

However once converted, you can't open it with V4.x anymore, so keep a copy of the original in V4. Ken Hamady
Crystal Reports Training/Consulting and a
Quick Reference Guide to VB/Crystal (including ADO)
 
Unfortunately, this did not seem to work. Opening the 4.x report in Crytsal 8, saving it, still caused "Memory Full" error. Saving it in version 7, still get same message...?

 
Is your application using the dlls for V8 or V4?
If you create a new report in V8, can you get it to work OK in your application? Ken Hamady
Crystal Reports Training/Consulting and a
Quick Reference Guide to VB/Crystal (including ADO)
 
If I create a NEW report in Crystal v8 inside of Visual Basic, the report works fine. I duplicated one of the reports and it worked without any errors.

However, I don't want to do this for ALL the reports, as it would be very time consuming.

I am not sure which dll's VB is calling up, or rather, Crystal is calling up. How would I check? Crystal 8 inssstalled into VB sucessesfully, all the Crytsal v8 controls work in VB.

Thanks in advance!
 
To check the files used look at the components and references of the project.

I doubt that this is the problem, since the app can run a true V8 report.

Hard to say what it happening, but it seems that you may not be getting the report fully into V8 format.

When you open this report in V8, can you verify the database?
Is the App on the same PC as the CR design environment?
How does the report connect to the data, via ODBC? Ken Hamady
Crystal Reports Training/Consulting and a
Quick Reference Guide to VB/Crystal (including ADO)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top