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

Suppressing dynamically based on user reqs.

Status
Not open for further replies.

jhermiz2

Programmer
Dec 2, 2003
62
US
My boss wants to have a summary report showing just totals and a detailed report showing some details. I created the details report and rather than creating another report can I create code to suppress the five fields that are in one of the sections and just show the totals?

I would want the user to select whether they want a detailed report or a summary...but how can I do this as well? Is this a parameter value? If so ... can anyone give me an idea on how to go about doing this.

Thanks,
Jon
 
Jon

You are right, use a parameter value. On the fields you need to suppress right click and format / common tab, click on suppress and then in the formula button (x-2) use the following:

{?YourParameter} = "Your Value"

eg. If parameter id called DetailsRequired and the values possible are "Yes" or "No" then:

{?DetailRequired} = "Yes"

this would suppress the fields. You can alsodo this for entire sections.

Good Luck

BurnsORegan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top