?
Solved

Crystal report postback in VB.NET(URGENT)

Posted on 2004-08-02
2
Medium Priority
?
684 Views
Last Modified: 2012-05-05
Hi,


I am new to crystal reports,I am using crystal reports.NET. I am getting the data from database to a dataset and attaching datatset to the report.When I click next button on the report, again it is going to database.

I tried getting the data only when it is not postback, when that time I click 'NEXT' I am not getting any data.It is displaying reportviewer control.Because the dataset is empty.Is there any properties I need to set.

I can use sessions but I don't want to use. Is there is any way I  can do

Also, I have lot of columns to display in the report.I changed the page setup to landscape, Still I need more space.How to increase the width.

This one is very urgent, Please Help!

Thanks in advance.
0
Comment
Question by:sormv
[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
2 Comments
 
LVL 1

Accepted Solution

by:
RichWallace earned 300 total points
ID: 11699672
Hmm..not quite sure about the report calling the DB again on clicking NEXT, I export my reports to PDF and allow the user to maintain the report if they need it.

As far as increasing width, try changing it to Legal...
Right-click in the report object and select 'Designer','Printer Setup' and change your paper size to Legal.

HTH
-Rich
0
 
LVL 42

Expert Comment

by:frodoman
ID: 11704153
>>> I tried getting the data only when it is not postback, when that time I click 'NEXT' I am not getting any data.

This is true - the viewer doesn't hold the data between posts so Biz Objects recommends that you do not put your report creation code in your "not postback" section.

>>> When I click next button on the report, again it is going to database.

This is the correct behavior.


If you want different behavior then your best bet is to create the report, export it to some other format (personally I think PDF is best) and then display the PDF file in the browser.

frodoman
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
Lotus Notes has been used since a very long time as an e-mail client and is very popular because of it's unmatched security. In this article we are going to learn about  RRV Bucket corruption and understand various methods to Fix "RRV Bucket Corrupt…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

800 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