How to create or reorder a DataReport Text and Values in Runtime with VB6 ?
I want to create a costumized DataReport results as user chioce.
I want to made it by CheckBoxes.
When user check some of them they (Checked Values) will appeare on the report, otherwise they will be hidden (without a blank space).
I have about 40 fields in my database table.
So, How to do this in easy way ?
[Please, Keep it in VB6]
Re: How to create or reorder a DataReport Text and Values in Runtime with VB6 ?
If you mean to dynamically add and remove controls in a DataReport then I believe that is not possible.
Re: How to create or reorder a DataReport Text and Values in Runtime with VB6 ?
Yes, I mean dynamically genereted report as user checked values.
But yes .. controls in DataReport must be exist before (in design mode).
So, you just need to show and reorder them (in runtime) as user choice.
This is the idea I asked for.
Re: How to create or reorder a DataReport Text and Values in Runtime with VB6 ?
You can try setting their properties.
Code:
DataReport1.Sections("Section2").Controls("Text1").Top = 0
Re: How to create or reorder a DataReport Text and Values in Runtime with VB6 ?
Thank you, but that need more details not in .Left and .Top properties.
I am looking for a complete example for this idea.
Re: How to create or reorder a DataReport Text and Values in Runtime with VB6 ?
Re: How to create or reorder a DataReport Text and Values in Runtime with VB6 ?
Anyone has any idea for this ?
1 Attachment(s)
Re: How to create or reorder a DataReport Text and Values in Runtime with VB6 ?