Type: Posts; User: DavidGraham167
Search took 0.02 seconds.
I found the problem.
report.DataSources.Add(New ReportDataSource("DataSet1", LoadSalesData()))
I'm using the example Walkthrough printing a local report without preview
I'm trying to print a label to a label printer so it should be...
Thanks that appears to work.
The problem was reported by an old fashioned typist who types without looking at the screen. It took me some time to reproduce the problem.
I have changed a few of my...
Yes the drop-down list appears as well as the auto-complete-list when I start typing.
It happens on another PC - it was a 'user' that reported the problem.
I have been able to reproduce it on a...
I have a combo box where as I type it only gives me the names starting with what I enter.
For example when I enter 'd' the list will only give names starting with 'd', then I go on and enter 'a' the...
I have a number of cells in a tablix.
On one row, I am merging them into one long cell.
When I do this I find that when I display the report the fist page is displayed correctly but the second and...
Thanks, that's clarified it
I'm using a SQL Server.
But I wonder if this is to complex as the user will need to have SQL Server on their computer or be linked to a network server.
I would like to print using rdlc.
I have data in a csv file which changes.
I have in the past used vb, sql & rdlc to write reports from one database.
This time, I would like to open the csv file...
I have a VB application where I create a new Word document and write to it.
It has been working OK but one user is getting the following error when using it on a new computer with Word97 & Window7 ...
I have the following code to display a query (Report Query).
It works with a certain amount of data but when I try to report on a larger data set it fails with a Connection Timeout error.
How to I...
I have created a report using the ReportViewer and rdlc files.
When the report is created there are three export options - Excel, PDF & Word.
When I export then open the report in Excel the text is...
Thanks, that's it solved.
Case Keys.F10 ' next date
Case Keys.F8 ' next date
and it worked - but I don't know why.
Thanks, I tried that but I still have the same problem.
Also I get a beep when I press the character that is lost after pressing F10.
I.e. if I press "123" I get beep "23".
I have just noticed it only happens with F10.
I have tried changing to Keyup & using Select but it has had no effect.
I have a dialog box and am entering the 'date', 'job number', 'code' etc. and am using function keys to speed up the entry.
I am using the following code to get the key press on the date text...
Thanks for the sample code, I do understand that it was just a place to start but I am having problems progressing.
The functionality of pressing Return or Tab and moving to the next cell, and at...
I found a good solution - it's at the bottom of this post.
It's all a matter of know what to look for.
When I print a document the user first has to select the printer, I have used the code shown.
If PrintDialog1.ShowDialog = DialogResult.OK Then
I do aggree that it is not a good idea to move to the next field automatically but this is what the user wants.
They used previous software that did this written in VisualFoxPro, I have rewritten it...
To speed up data entry on a DataGridView the user wants to move to the next cell automatially.
Say if a 3 character field is expected in a field, after the 3rd character is entered in that cell it...
Thanks but I don't have a printing routine. It is printed from Word. I managed to reset the printer on closing the form.
I want to print on document to the label printer and all other documents to the default printer.
MyWord = CreateObject("Word.Application")
MyWord.Visible = True
I have at last managed to fix this, I added ReportViewer1.RefreshReport to the FormClose event.
Private Sub frmReport_FormClosing(sender As Object, e As System.Windows.Forms.FormClosingEventArgs)...
Thanks, but how can I check the following?
"When you're deploying, can you make sure the dependency is actually being included?"
In the Solution Explorer under references I have System.Windows.Forms.DataVisualization - I have set 'Copy Local' to True (for most other references 'Copy Local' is false).
If I go into...
I have added a Chart v3.5 to my VB 2010 project and the chart displays correctly.
I have published the project and when I distribute it and the user updates and tries to run the project there is...
Thanks, I was looking at the DataGridView or the ContextMenuItem.
Thanks for your help.
I have several DataGridViews on a form.
Each grid has the same ContextMenu.
Is there a simple way to tell which grid the right click came from?
Yes, I close it using the 'x' button on the top right of the form.
There is no extra code to close it.
When I run the report again I load the form again.
I have tried setting the AutoscrollPosition and the AutoScrollOffset to zero but that has no effect
ReportViewer1.AutoScrollPosition = New Point(0, 0)
ReportViewer1.AutoScrollOffset = New...
It is nothing to do with autosizing.
It also occurs when I scroll to the right - when I run the report again I cannot access what was to the left.
The problem may be to do with resetting the...
I have done some more work and can now reproduce the problem.
If you display a report and scroll down on the report.
When you display the next report the top is missing and it is impossible to...
Here is a cut down version of the code.
There are two global variables:
'MyReport' which is the name of the rdlc file,
and 'query' which is the SELECT statement used.
When you run it it is OK the...
Sorry for displaying such large images but I wanted to show the problem - I've tried before to describe it in words and got no response.
When I run my report the first time it displays correctly -...
Thanks - I did get it working. I now understand more about reports and groups.
Thanks both for your help - I will try them - at least I now know where to look.
I have a data set:
Pay Code, Name, Work Type, Hours
A001, A Jones, Travel, 20
A001, A Jones, Field, 30
A001, A Jones, Office, 40
A002, A Smith, Travel, 30
A002, A Smith, Field, 40
Click Here to Expand Forum to Full Width
Survey posted by VBForums.