469,307 Members | 1,898 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,307 developers. It's quick & easy.

Pass form combobox to Report header (Visual Studio)

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 1736
Killer42
8,435 Expert 8TB
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

Post your reply

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

Similar topics

1 post views Thread by =?Utf-8?B?Y2hhaXJtYW4=?= | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Geralt96 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.