Page 1 of 1

selecting columns to print at runtime

Posted: Thu Jul 01, 2010 11:29 am
by Naveen Aggarwal
hi !

Is it possible to select the columns to be printed at run time ?
Like i provide the end user with option to uncheck the columns he doesn't want in the output !

Thanks in advance!

Naveen

selecting columns to print at runtime

Posted: Thu Jul 01, 2010 1:10 pm
by Jan
Hello Naveen,

Please check Demo.exe application from standard delivery. Category- "Dialogs", report - Selecting Columns".

Thank you.

selecting columns to print at runtime

Posted: Sat Jul 03, 2010 11:27 am
by Naveen Aggarwal
Hi !

Thanks a lot for your reply !
I have had a look at the Demo.exe application .
Its really amazing but I am still not able to make out how is it being done and how can I design a report on similar lines.
I would be highly obliged if i can get little more help on this.

Thanks in advance !

Regards!

Naveen

selecting columns to print at runtime

Posted: Sun Jul 04, 2010 1:13 am
by Andrew
Hello,

Could you, please let us know what exactly goes wrong when you design a report?
We will help you.

Thank you.

selecting columns to print at runtime

Posted: Sun Jul 04, 2010 1:54 am
by Naveen Aggarwal
Hi!

Thanks a lot sir but frankly speaking I dont know how to design such a report.
My requirements although are very simple. I have a table which has got say 12 columns. Out of these 12 columns 3 columns are optional . May be one user needs them and others may not. So I just wanted to give them the freedom of selecting the columns they would like to view. I havent yet designed any report which uses a form.

Regards !

Naveen

selecting columns to print at runtime

Posted: Mon Jul 05, 2010 3:26 am
by Jan
Hello Naveen,

You can use DockStyle property of component. Please set to latest text component on databand (on right side for example) DockStyle property to Fill. All other text box must have DockStyle property set to Left. After then you can switch off any of this components (with help of Conditions for example) and latest component will be automatically fill all free space on databand. Other components will be moved to left side.

Thank you.