472,131 Members | 1,403 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,131 software developers and data experts.

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.

Dec 16 '11 #1
1 1774
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
reply views Thread by leo001 | last post: by

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.