Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Limitation of old version?

Posted on 2001-09-04
6
Medium Priority
?
200 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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

 
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

604 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