Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Horizontal Stretching
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00167166
Message ID:
00167256
Views:
16
>Is there a way to make the fields Stretch Horizontal in a report. I don't care if the report is wider than it is supposted to be, because this report only goes to a text file. I have some fields that I added data to with a function and I want the fields to grow and with the amount of data the function supplies. I though there was something to do this like a ";" or a "@" in the picture or function clause of the report to do this. Any help will be most usefull. If I can't get this I have to run it to a file and then use low level file function to reshape the file.

Chuck,
The only way I have been able to do this sort of thing is to make the report form as wide as you could possibly need. Then create the lines where you need the Stretch Horizontal fields by hand like this:
'Desc: ' + trim(desc_field) + ' Cost: ' + transform(cost_field, '99,999.99') etc. Putting this in as a function in the field set as wide as you need it.

You are still limited by the max width of a form and I'm not sure what that is.

If you are simply putting this to a text file then you could use this to produce the entire report without using report writer unless you need headers and footers.

John.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Previous
Reply
Map
View

Click here to load this message in the networking platform