Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stretch variable in Report Summary Band

Status
Not open for further replies.

MossNelson

Programmer
Oct 30, 2003
26
US
I am trying to print the contents of a variable m.myremarks into the Summary portion of a VFP9 report.

'Stretch with Overflow' is checked and Object Position is 'Float' yet the printed text gets cut off and does not Stretch past the size of the field box. Increasing the size of the field and also the Summary Band and it print the whole thing again.

What am I missing here? I thought the purpose of checking Stretch was that I would not have to dedicate all that space to a particular field and that it would stretch downwards based on the size of the data?
 
According to VFP 9 help, it only applies to field controls.

Regards,
Jim
 
OK, I'm a little confused. In your initial message you said it was a memory variable.

Regards,
Jim
 
>>> OK, I'm a little confused <<<
So am I!

I spent several hours trying to figure this one but can't. It is a field control in the Summary portion of my report.

The datasource for the control is a memory variable such as m.myremarks which contains a single paragraph of text.

Stretch is checked, yet it never stretches. The text that prints always matches the size of the box.
 
OK, my mistake. I thought that a field control by definition included a field - not a variable.

Do you have any controls under the one you want to stretch? If so, they have to be marked to Float or the control above won't stretch.

Regards,
Jim
 
>>> any controls under the one you want to stretch <<<
It is the last control on the report at the very bottom in the Summary section. It is marked to float but it absolutely does not stretch.
 
Is the field control inside any kind of a container, like a shape? I think you have to set some stretch properties on the shape if that's the case. If it's not, I'm afraid I'm out of ideas.

Good luck,
Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top