that worked perfectly - I never tried to hit the print button twice - but after you mentioned it, it worked exactly as you suggested.
I just assumed that the service packs were being applied in automatic updates with windows updates etc!
thanks a lot
can anyone tell me if there is extra steps needed to use the print button from the print viewer object in vb.net 2005.
I have the report displayed properly on screen, and when I choose the print button, it does show a print dialog. After selecting the printer I wish to print to it even...
I am wondering if it is possible, and someone could point me in the right direction.
I would like to pull data from one table, which will reference what table and field I need from another table.
For Example
Table1
ID - int
tbl2 - varchar(50)
fld1 - varchar(50)
table2
ID
data - varchar(80)...
sorry I cant really think of a fool proof way that this would be possible - I am attacking a similar problem where my details grow and shrink, and depending on their size a block of information that I want to be all on the same page ends up getting split.
i thought that the page would by default fill with whitespace, but if you want to have visible rows, the only thing that comes to mind would be a little crazy, but here goes.
Get a count of the number of rows that can be displayed on the page, find out how many rows will be displayed on the...
Blank lines as in a table row with borders, so there is something displayed instead of whitespace?
if that is the case, I am not sure how you would do that off the top of my head - when I get a moment I will try and see if I can think of a way.....
I am not sure I follow you, but if you have white space under the fields you are reporting, it will put that in the report as well, if you shrink the detail section to be flush with a field, it should remove the extra white space, if there is not enough detail, however, it will of course show...
I have never referenced another text box on a form, you could pass in a parameter
Dim params(0) As Microsoft.Reporting.WinForms.ReportParameter
params(0) = New Microsoft.Reporting.WinForms.ReportParameter("InvoiceNum", 10001)
Me.ReportViewer1.LocalReport.SetParameters(params)
another way...
As far as I can tell, all data processing is done in the Detail section, so you would have to add the fields there. Header and footer sections must have static (or Parameter) variables.
If adding the invoice number to the top right of the detail section (for example) doesnt fit your needs, I...
ok, here is a VERY basic example.
you have the following items:
1. Invoice Object (InvoiceObject.vb)
2. Report Definition File
3. Form to Get Data and show report (Form1.vb)
4. Form with Report Viewer (Form2.vb)
I will try to base this example on you original request.
1. Invoice Object - a...
Yes 10001 would be your filtering criteria. I am not sure what you are asking about entries to add. You could take the value out of a textbox on a form, you would just pass in that value instead of 10001.
Another way you could do this, would be to create an object like "Invoice" and set...
I can think of a couple of ways to do this.
Option 1:
You build an object that will store the data for an individual invoice. You would then search your data sources with a data layer, and build an instance of this object. In the event that you needed to make more than one invoice, you...
this should give you a head start, Button3_click was a method for when a button was clicked, which would run the function that follows. You have to check types going in and out, but this is how I would approach it.
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As...
I am looking into implemented a monthly view calendar similar to outlook in a windows form. I am looking for feedback or information on controls that provide this functionality in Net 1.x. I have seen a couple of products that provide this functionality such as Infragistics Net Advantage, and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.