?
Solved

Limitation of old version?

Posted on 2001-09-04
6
Medium Priority
?
196 Views
Last Modified: 2008-02-26
Hi,

I have installed crystal report for visual basic product 4.6.1.0 which is included at visual studio 6.0 enterpise edition!

What is the main difference of this old version when comparing with the most update version!

Any limitation exist!

Further, anyone can teach me how to use the crystal report control 4.6 at VB environment.

I have created a rpt file. But I don't know how to view this file after placing the crystal report control 4.6 at the dialog! Please give me a simple example in doing this!

Thank you very much for your help!


0
Comment
Question by:ee_lcpaa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
6 Comments
 
LVL 12

Expert Comment

by:DRRYAN3
ID: 6453607
ee_lcpa

I would suggest you upgrade to a current version of CR before beginning development work.  The version you have contains an OCX control and an API interface which are fairly limited in runtime control.  Many of these limitations have been corrected in the new version, currently version 8.5

As to learning version 4.6, I would suggest you take a look at some of the older PAQs in this topic area where you will find numerous code examples for calling the OCX from visual basic.

Examine the properties of your Crystal Report control.  You will find a ReportName property (or something similar) you need to set with the full path name of your .RPT file.  You will preview the report by setting the .ACTION method to the desired value.

DRRYAN3
0
 

Author Comment

by:ee_lcpaa
ID: 6453609
Hi All,

I have another problem in mind now.

Can I create the rpt file at runtime at VB environment by using the free version of Crystal Report Control 4.6?

I hope I can read a new set of data from db at runtime and then generate a new report.
After generating this report, I can have a preview at my application and allow the user to save this report to their harddisk if they satifsy the report.

Please tell me whether I can implement like this!
If yes, pls teach me!

Thank you very much!



0
 
LVL 12

Accepted Solution

by:
DRRYAN3 earned 500 total points
ID: 6453741
If you mean, can I create a new .RPT file from code at runtime, you cannot create reports using the version of Crystal Reports which is included with VB 6.

If you mean, can I include a .RPT file with my application and allow the user to preview it, without changing the appearance of the report, at runtime, then yes, you can do that.

See the following links for additional information regarding writing VB code using the OCX control:

http://support.crystaldecisions.com/communityCS/TechnicalPapers/apps_ocx.pdf.asp
http://support.crystaldecisions.com/communityCS/TechnicalPapers/apps_vb_api.pdf.asp
http://support.crystaldecisions.com/communityCS/TechnicalPapers/OCX_Formulas_property.doc
http://support.crystaldecisions.com/communityCS/TechnicalPapers/errors_ocx.pdf.asp

Basically, you place the CrystalReport control on your form and place the following code on a button:

CrystalReport1.ReportFileName = "C:\MYREPORT.RPT"
CrystalReport1.Action = 1

Where C:\MYREPORT.RPT is replaced with the actual name of your report.

I still recommend that you upgrade.

DRRYAN3

0
On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

 
LVL 12

Expert Comment

by:DRRYAN3
ID: 6537567
This question has been open for some time now.  Please return and either
1.  Accept an answer
2.  Post a comment stating that you need more information
3.  Ask Community Support to delete the question if you feel the information here has no value to you or anyone else.
4.  Ask Community Support to PAQ the question because your question was not answered but you feel the information here may be of some value to others.

Community Support is here:  http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt and you can leave a message by posting a zero point question.  Be sure to reference the question ID, found in the Address bar of your browser.

Thanks
DRRYAN3
0
 
LVL 12

Expert Comment

by:DRRYAN3
ID: 6870538
This question has been recommended for closure at http://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=commspt&qid=20277616.

Points to DRRYAN3

DRRYAN3
0
 

Expert Comment

by:Tuvok
ID: 6870733
Force accept DRRYAN3 comment.

Tuvok,
Moderator @ Experts Exchange
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question