Crystal Related Problem

  • Thread starter Thread starter Goofy
  • Start date Start date
G

Goofy

Hi,

I am OK with crsytal reports normally VS2003/CR 9.0 but I wanted to use a
parameter to prevent specific columns appearing programmatically. I use a
dropdownbox on the web form to select what parameter I want. Now if I run
the report for the first time with DisplayTotalCost selected, I can see its
effects in the report, If I now select RevexOnly, and run the report again,
this remains as DisplayTotalCost. Its allmost as if it preserves the
viewstate and knows will not allow this to be altered in subsequent
postbacks.

Any ideas would be greatefully accepted

If Me.drpCostbase.SelectedValue = "RevexOnly" Then

crpt.SetParameterValue("DisplayTotalCost", "RevexOnly")

Else

crpt.SetParameterValue("DisplayTotalCost", "DisplayTotalCost")

End If
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top