Crystal Reports & Comboboxes

Trancedified

Active member
Joined
Feb 10, 2004
Messages
27
Location
Highland, CA
Hello,

Lets say I have a form with a combobox full of names like George, Chris, James, etc.

Could I select from this list and.......

1) Pass the selection to crystal reports so it only shows the information regarding James in CrystalReportViewer?

--or--

2) While CrystalReportViewer is on, put a combobox in another form where CrystalReportViewer is placed choose a name from it and then filter according to the name selection?

I have a long list of names and I dont want to hardcode like:

Code:
If cboName.Text = "James" Then



End if

If cboName.Text = "Chris" Then



End If
ETC.

Please let me know if you have any solutions?

Chris
 
Back
Top