Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select a Boolean Value or Else

Status
Not open for further replies.

JCooL

Programmer
Oct 21, 2001
89
US
Hi again,

I made a combo with 3 options for a bolean value, i.e

1.True
2.False
3.Both

if i select 1 show all records that contains value true, the same to the option 2 but in the option 3 i want that show me all values wihtout any filter, but the parameter is boolean valuetype and only accept me True/False...

How i add a value that validate a all filter?


Visual Basic Code

If Option.Value = True Then Bol = False
If Option.Value = True Then Bol = True
Report.ParameterFields(1).AddCurrentValue(Var)

form.CrystalViewer.ReportSource = Report form.CrystalViewer.ViewReport
form.Show

i use Crystal 8.5


Thanx...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top