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
Solved

Limitation of old version?

Posted on 2001-09-04
6
188 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
  • 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 125 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
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 
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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying 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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

838 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