pemurray
asked on
Autosize Height in Datawindow header band?
Greetings All,
I have a datawindow with a detail band and three groups. One of the fields in the top group can be multiple lines and so I checked autosize height for that field on the properties | position tab.
When I run the report, if there is more than one line of text in the field it slides underneath group 2 so that it cannot be read correctly.
I notice that you can only only the detail band has the autosize height property. Am I stuck or is there a work around to make the group band slide move down when there is a field with the autosize height property turned on?
Thank you,
Paul
I have a datawindow with a detail band and three groups. One of the fields in the top group can be multiple lines and so I checked autosize height for that field on the properties | position tab.
When I run the report, if there is more than one line of text in the field it slides underneath group 2 so that it cannot be read correctly.
I notice that you can only only the detail band has the autosize height property. Am I stuck or is there a work around to make the group band slide move down when there is a field with the autosize height property turned on?
Thank you,
Paul
ASKER
Rosh,
Thanks.
I tried adding dw_1.Modify("DataWindow.Pr int.Previe w=Yes") to script just before the retrieve and the only difference is that I see a blue line around the border/margin.
But the text in the multiline field is still sliding below the group below it. It is not in the detail band.
Thanks again.
Paul
Thanks.
I tried adding dw_1.Modify("DataWindow.Pr
But the text in the multiline field is still sliding below the group below it. It is not in the detail band.
Thanks again.
Paul
hi,
do
dw_1.Modify("DataWindow.Pr int.Previe w=Yes")
after retrieve...
i had a similar problem like urs in one of my reports which got solved by this solution...
don't worry abt the blue lines... they will not come in the print...its only a preview line....
Cheers,
Rosh
do
dw_1.Modify("DataWindow.Pr
after retrieve...
i had a similar problem like urs in one of my reports which got solved by this solution...
don't worry abt the blue lines... they will not come in the print...its only a preview line....
Cheers,
Rosh
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Sandeep,
I guess you are telling me that it is not going to work. I don't want the text in the detail band so I guess I am going to have to simply limit the size.
Thanks!
Paul
I guess you are telling me that it is not going to work. I don't want the text in the detail band so I guess I am going to have to simply limit the size.
Thanks!
Paul
i can suggest a work around...
when u set ur datawindow to preview mode it displays the desired format (without overlapping)....
so what u can do is after retrieve write the following line of code...
dw_report.Modify("DataWind
do ask for more assistance...
Cheers,
Rosh