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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

telling crystal what to report at runtime

Status
Not open for further replies.
Jan 14, 2003
7
0
0
US
in a vb.net windows app I have written I have a datagrid that I can tell it to show or hide columns based upon checkboxes the user selects such as this:

If CheckBox2.Checked = False Then
Dsjjkp1.Tables("JJKSUP").Columns.Remove("Description")
End If
If CheckBox2.Checked = True Then
Dsjjkp1.Tables("JJKSUP").Columns.IndexOf("Description")
End If

How do I tell Crystal to do the same for the report?
What it does now is read the dataset and just blanks the column which is not very nice looking.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top