I'm confused!
I have a report that in the detail section has a vertical line, and two text boxes with the "Can Grow" property set to yes.
In this example, there are two detail records to be printed, one fits the text box fine, the other requires the text box to grow in order to fit all the info. If I output the height of the text box in the Detail on Format event, both records show the same Height for the text box, if I output the height in the On Print event, then the second text box is show as being bigger as it has expanded to fit the extra info.
Now for my question....Where can I set the height of the vertical line so it matches the height of the text box? If I try and set it in the on format event then the size is not showing as the expanded size? If I try and set the height in the OnPrint event, then I'm told I can't set this protery after printing has started?
Can anyone help?
I have a report that in the detail section has a vertical line, and two text boxes with the "Can Grow" property set to yes.
In this example, there are two detail records to be printed, one fits the text box fine, the other requires the text box to grow in order to fit all the info. If I output the height of the text box in the Detail on Format event, both records show the same Height for the text box, if I output the height in the On Print event, then the second text box is show as being bigger as it has expanded to fit the extra info.
Now for my question....Where can I set the height of the vertical line so it matches the height of the text box? If I try and set it in the on format event then the size is not showing as the expanded size? If I try and set the height in the OnPrint event, then I'm told I can't set this protery after printing has started?
Can anyone help?