?
Solved

Crystal Reports

Posted on 2005-05-06
7
Medium Priority
?
229 Views
Last Modified: 2011-09-20
Hi

Since I never used crystal reports I have some questions.

Question 1:
I want to load a dataset into a report.

So I made a form that has a report viewer on it.

I made a variable: private ds as new dataset.
In the form_load event I placed the code to load all data in this dataset.

Now I have to get everything in the report.

Also what happens if you press the refresh button on the report viewer ?

Can you help me with this ?


Question 2:
I'm working with an MDI application. Is it possible to integrate the toolbar from the report viewer in the toolbar of the MDI application ?


Question 3:
Since it's an MDI application, I also disabled the statusbar of the report viewer since I have one on my own.

Is there a property to get the current page and the total pages of the report ? So I can get this at the bottom of the report of each page and in my statusbar ?

It should also have to change if there is another form active.

Can someone help me with this ?

Thanks!!!!

Jerry
0
Comment
Question by:Jerry_0001
  • 4
  • 3
7 Comments
 
LVL 9

Accepted Solution

by:
cyberdevil67 earned 375 total points
ID: 13945434
0
 

Author Comment

by:Jerry_0001
ID: 13947395
Thanks for the Url, but letting the report go directly to the database isn't an option for me.

I have create a function that locks the database, so the only way to enter the database is to first unlock it through code.

For the moment I created a typed dataset (xsl file). And it seem that the report loads dataset (bind dataset to report). So I hope this also is a good solution.

I wonder now, what do I have to do if I distribute the application. It's a windows app. Do I also need the XSD and RPT files ? Or is everything build in the exe file ?

I still can't find anything about the other question in my first message.

Can you assist me with this ?

Thanks!!
0
 

Author Comment

by:Jerry_0001
ID: 13947413
I should almost forget my most important question.

How can you disable those tooltips in a report ?

Thanks
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 9

Expert Comment

by:cyberdevil67
ID: 13949123
Well if you read that link you would understand that its probably the best thing to do it that way, and why could you not unlock the database prior to loading the rerport and doing what you have to do then locking it back down again?

And in answer to you questions

1)  I answered

2) No

3) Not until you run the report, you could check the properties of the report but I am not sure this can be read back to be honest with you.

support.businessobjects.com may have the answer to number 3, but as it unknown until the viwere display/runs the report I doubt that you can read it back but I see if I can find out.
0
 

Author Comment

by:Jerry_0001
ID: 13950277
Ok thanks!!

I only have one last question. I tried the app on another comuter, and there I get the error: Cannot find CrystalDecisions.CrystalReports.Engine ...

Which dll files do I have to copy to the GAC to make it work ? And where can I find them ?

0
 
LVL 9

Expert Comment

by:cyberdevil67
ID: 13950644
When you create a setup and deployment package you need to add specific merge modules, and this will dpend on whether your using the one that comes with Visual Studio .Net or Cr 9/10.

support.businessobjects.com has the information that you need to supply merge modules, and tells you how to apply the serial/key to the regwiz merge module. Sorry I don't know the exact url just do a search for .net merge module
0
 

Author Comment

by:Jerry_0001
ID: 13950654
Ok
thanks
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

809 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