473,597 Members | 2,727 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Pass form combobox to Report header (Visual Studio)

72 New Member
Hi all,

I am trying to pass the contents of a form combobox into a Report header in Visual Studio.

I can do this no problem in Access but since moving onto VS I cant do the same.

I have a report, with a parameter in the header.

I then have a form with a bunch of comboboxes, and a report viewer. The comboboxes are used to filter the report which works fine.

What I want is when the user clicks a combobox value, it will display in the report.

E.g. The user clicks the month January in a combobox, it will then display January in the header and so on.

Thanks
Gareth
Dec 16 '11 #1
1 1827
Killer42
8,435 Recognized Expert Expert
What version of Visual Studio is this?

If you're referring to Visual Basic version 4, 5 or 6 (which is what this forum is about) then I'd have to guess that a "report viewer" must be something like the Crystal Reports product. Is that right?

If you're referring to the later, .net-based versions of Visual Basic (or other languages supported in Visual Studio) then you might need to ask this question in one of the other areas (see the dropdown selections up top).
Dec 18 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
305
by: Nick Zdunic | last post by:
Hi, I have some forms in my application. Some visually inherited forms resize themselves in Visual Studio - ruuning my previous settings. Locking the form has no effect either. The forms it has problems with seem to be when the inheritance structure in greater than 2 levels deep. It is as follows:
0
1301
by: Gunady | last post by:
Iam using CrystalReport for Visual Studio.Net 2003: * I have used CrystalReportWebViewer in my web app. I want to make my custom navigation page that have four button (first, prev, next, and last). I'm success to use CrystalReportWebViewer's methods like ShowFirstPage, ShowPreviousPage, ShowNextPage. But when i used ShowLastPage, i got error : Missing parameter field current value. Exception Details:
2
486
by: kmietas | last post by:
How can I pass command line arguments in Visual Studio 2005 (in C++ environment)? Thanks in advance.
3
2008
toxicpaint
by: toxicpaint | last post by:
Hi everyone, I'm using ASPX, VB, Access and Visual Studios. I have been given a database and asked to turn it into a web application. the person who built the database has built some reports using access. As they have already built the reports, is there a quick way of importing them from access and displaying them in visual studio? As it seems like a waste of time to build them in studio if they have already been done. Thanks in...
1
1146
by: sambansi | last post by:
Hi All, I have installed 1. Microsoft Visual Studio 2005, Microsoft .NET Framework Version 2.0 and 2. Crystal report developer, product evaluation, version 11.5.0. I want to access crystal report from visual studio. But there is no CR related controls available in VS toolbox. I have tried to add controls by right clicking on toolbox and browse to C:\Program Files\Business Objects\Common\3.5\managed\....... But didn’t get success to...
0
1054
by: annadurai | last post by:
Dear sir Sub :- ASP.NET with CRYSTAL REPORT in VISUAL STUDIO 2003 I have following doubts in ASP.NET with crystal reports. 1) In my crystal report output screen, PRINTER icon is not displayed. (kindly see my present output bar. Printer icon is missing). 1 of 1+
1
2246
by: =?Utf-8?B?Y2hhaXJtYW4=?= | last post by:
I am trying to set up a Report Server to publish reports that I have created in Visual Studio 2005. I have been able to get it up and running and I am able to access reports via the web and set up another user. The other user can log on and see the reports available but when he runs then it begins to run the report then throws the error below. I have tried looking in the virus software logs to see if it is being blocked but that doesn't...
6
1892
by: anithaa | last post by:
hi, can we open a windows form from a crystal report in visual studio 2005? thanking in advance!
0
1934
by: madasamonkey | last post by:
I'm using Visual Studio 2008. The o/s is Win XP Pro. Here's my problem: The machine I'm working on is a PC and the monitor resolution is 1280 x 1024 The target machine on which the app will run is a media centre PC hooked up to a 42inch LCD display, on which the screen res is 1360 x 768. I want the form to fill the entire TV screen, but my attempts to increase the form size to do this are thwarted by Visual Studio. Each time I try to set...
4
2685
by: Robson Felix | last post by:
It may sound like a silly question, but I would like to print a form or component from within Visual Studio when designing such form component. Is that possible?
0
7894
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8276
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8381
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8044
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
5847
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5437
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3936
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1496
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1245
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.