Question about Computers & Internet

1 Answer

Sir , we are run cystal reports in vb.net , but that time we are use any control menu like print option ,zoom option ,nextpage option etc. so that problem is control post back and blank my my reports

Posted by on

  • Fred Block
    Fred Block May 11, 2010

    Is this behavior occurring on the development machine or an installation elsewhere?

×

1 Answer

  • Level 3:

    An expert who has achieved level 3 by getting 1000 points

    All-Star:

    An expert that got 10 achievements.

    MVP:

    An expert that got 5 achievements.

    Vice President:

    An expert whose answer got voted for 100 times.

  • Master
  • 415 Answers

You have to rebind the report on every postback.

in form_load put

if (Page.IsPostBack)
{
if (Session["currentReport"] != null)
{
CrystalReportViewer1.ReportSource = Session["currentReport"];
CrystalReportViewer1.DataBind();
}
}

and when creating your report add this line
Session["currentReport"] = myReport;

Posted on Dec 30, 2009

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

How do I print a single call report for a FAX previously sent


Printing a fax call report
A fax call report is a brief report that indicates the status of the last fax that was sent or received.
To print a fax call report
1. On the all-in-one control panel, press Menu.
2. Use the < or the > button to select Reports, and then press .
3. Use the < or the > button to select Fax Call report, and then press .
4. Press to select Print report now. The all-in-one exits the menu settings and prints the report.
NOTE To set the fax call report to print automatically, see Setting print times for the fax call
report.


Setting print times for the fax call report

You can set the all-in-one to print a fax call report after any of the following events:
? Every fax error (the factory-set default)
? Send fax error
? Receive fax error
? Every fax
? Send fax only
? Never
NOTE If you select Never, you will have no indication that a fax failed to be transmitted
unless you print a fax activity log.

To set the print times for the fax call report
Use the following steps to set when the fax call report is printed:
1. On the all-in-one control panel, press Menu.
2. Use the < or the > button to select Reports, and then press .
3. Use the < or the > button to select Fax Call report, and then press .
4. Press the > button once to select Print report, and then press .
5. Use the < or the > button to select the option for when you want the fax call reports to be printed.
6. Press to save your selection.
The following print-time options are available:

Including the first page of each fax on the fax call report
If this option is turned on and the page image still exists in the all-in-one memory, the fax call report
includes a thumbnail (50% reduction) of the first page of the most recent fax that was sent or
received. The factory-set default for this option is On.
To include the first page of each fax on the fax call report
Use the following steps to include the first page of each fax on the fax call report:
1. On the all-in-one control panel, press Menu.
2. Use the < or the > button to select Reports, and then press .
3. Use the < or the > button to select Fax Call report, and then press .
4. Use the < or the > button to select Include 1st page, and then press .
5. Use the < or the > button to select On or Off, and then press to confirm your selection.

Jul 06, 2011 | HP LaserJet 3050 All-In-One Printer

1 Answer

Looking for the code of "print"


You will be using the "Print # Statement" (see the VB Help file for full details). You may also want to check out the printer dialog control to allow your users to select a printer to print to.

Apr 24, 2009 | BDG Publishing Visual Basic Source Code...

1 Answer

How to create crystal report in asp.net with vb script code


You can open the Crystal Report (should be installed with Visual Studio first) after you designed your database, then you have to connect the Crystal Report to the right database (the one which you store financial information in your case), then you can create your report easily by putting the desired variables and designs. Then you have to call for that report with a code within visual basic.

Apr 15, 2009 | Computers & Internet

1 Answer

How to Export Listview Data in Crystel Report through VB 6.0


Dear friend you can get your answer easily in http://www.codeproject.com/
This website is all about .NET programming and VB and by a simple search you'll find your answer
Good luck

Feb 27, 2009 | Microsoft Visual Basic Professional...

2 Answers

Please help abt VB6 code for SATO CX400 printer


just make prn file or by crystal report



call me on 9974985001

Feb 04, 2009 | SATO CX400 Thermal Label Printer

1 Answer

Page Totals in Reports


Reports: Page Totals Each section of a report has a Format event, where you can alter properties such as Visible, Color, Size, etc in a manner similar to the Current in a form. (See Runtime Properties: Forms for details.) For example to force a page break when certain conditions are met, include a PageBreak control in the Detail Section and toggle its Visible property. In addition, the Print event can be used to perform tasks like adding the current record to a running total.
You have an Amount field, and want to display the Amount total for that page in the Page Footer. Totals are not normally available in the Page Footer, but the task requires just four lines of code!
  1. In the PageHeader's Format event procedure, add:
    curTotal = 0 'Reset the sum to zero each new Page.
  2. In the DetailSection's Print event, add:
    If PrintCount = 1 Then curTotal = curTotal + Me.Amount
  3. Place an unbound control called PageTotal in the Page Footer. In the PageFooter's Format, add:
    Me.PageTotal = curTotal
  4. In the Code Window under Declarations enter:
    Option Explicit 'Optional, but recommended for every module.
    Dim curTotal As Currency 'Variable to sum [Amount] over a Page.
That's it! Don't forget to rate 4 stars for this solution.

Jan 17, 2009 | Office Equipment & Supplies

1 Answer

Epson LX-300+II not printing in draft 10 cpi using visual studio .net


use courier font. it works just as draft font. no problem in VB-6 i hope it will also work with .Net as well.
tell if dont work.
asad khan
justasad@hotmail.com

Oct 27, 2008 | Epson LX-300 Matrix Printer

1 Answer

How could i create the reports in vb.net step wise from dataset? acutually i want to prepeare the reporting for printing and also please guide me how to take the data abck on the other partation from my...


usually if you are using vb.net to make a application, it must included the crystal report component. you can use that component to create a customized reports. after you search the component but you cannot find it, maybe you need the crystal report application to create. Trying to find a crystal report application and install into your pc. you must be able to create a report after you installed this program.

Feb 16, 2008 | Computers & Internet

1 Answer

Screen Resolution problem in vb.net application


hi friend this problem consist still u can't set all controls manually . Means to say first get the resulation of the screen and then programataclly define the location and size for the controls
vinod.shivrain@gmail.com

Dec 06, 2007 | Computers & Internet

1 Answer

View Reports


Hi, There a couple of different way you could do this and I have put two lots of VB code below that you can modify and use. Firstly you create the Combobox list by choosing the option that you will type the values yourself, you then type in all your report names on each line. After that you can then go to the VB code editor and paste my code in and modify it by changing my report names, (Customers) etc to your report names. Make sure you choose the Combobox and the On_Click option in the VB editor to paste the code into.  I like the first method better which checks the value of the Combobox and then opens the corrosponding report in the maximised form. The second method does the value check before running an assigned macro to open each report. With this you must first assign macros to each report in Access.  Remember each of these bits of code must be placed between the "Private Sub" heading and the "End Sub" ending, and change the "Combo23" name to reflect your combobox too. If you need a hand just email me.

First Method
 
If Combo23.Value = "Customers" Then
    DoCmd.OpenReport "Customers", acViewPreview, acWindowNormal
    DoCmd.Maximize
   
ElseIf Combo23.Value = "Customers 1" Then
    DoCmd.OpenReport "Customers1", acViewPreview, acWindowNormal
    DoCmd.Maximize
   
ElseIf Combo23.Value = "Customers 2" Then
    DoCmd.OpenReport "Customers2", acViewPreview, acWindowNormal
    DoCmd.Maximize
   
End If

Second Method
 
If Combo23.Value = "Customers" Then
   DoCmd.RunMacro "Macro1"
   DoCmd.Maximize
ElseIf Combo23.Value = "Customers 1" Then
    DoCmd.RunMacro "Macro2"
    DoCmd.Maximize
ElseIf Combo23.Value = "Customers 2" Then
    DoCmd.RunMacro "Macro3"
    DoCmd.Maximize
End If

Oct 28, 2007 | Computers & Internet

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

96 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Doctor PC
Doctor PC

Level 3 Expert

7733 Answers

kakima

Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...