Displaying Report Columns Conditionally

Common questions about 1C:Query language, Query builder tool and Data composition schema

#1
People who like this:0Yes/0No
Active user
Rating: 6
Joined: Sep 16, 2011
Company: TLG Integration

Hello!

I would like to display some columns in report conditionally: if the Quantity checkbox is checked the quantity column should be displayed and if Amount checkbox is checked the Amount column should be displayed. Is there an easy way to do this?
The report is built using the Data Composition Schema.

 
#2
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Mar 15, 2012
Company: no

May be you mean selected field. And you want  to show this settings on user form.

 
#3
People who like this:0Yes/0No
Active user
Rating: 6
Joined: Sep 16, 2011
Company: TLG Integration

No, I want to let a user to select which fields to display without of opening the settings window due to it is a bit complicated for them.

 
#4
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Mar 15, 2012
Company: no

You should change custom settings item property of Report in Settings tab of DCS.

But if you want only two checkbox, you should change form of report. Set two checkbox and connect them with DCS.

 
#5
People who like this:0Yes/0No
Active user
Rating: 6
Joined: Sep 16, 2011
Company: TLG Integration

Thanks, Mikhail!
That looks much better, but if it is possible to make these settings look like checkboxes?

 
#6
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Mar 15, 2012
Company: no

Try to change form

 
#7
People who like this:0Yes/0No
Active user
Rating: 6
Joined: Sep 16, 2011
Company: TLG Integration

Thank you, Mikhail!
That helped!

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.