Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to avoid truncated field ?
Message
From
14/07/2004 08:57:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
14/07/2004 00:29:50
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00924049
Message ID:
00924154
Views:
13
>That's correct.
>In that case, before run the report, you can open .frx, locate the TextField and replace expr with left(, maxWidth).
>maxWidth can de calculated using txtwidth().

I think it should be possible to create a UDF that adds letters from an expression until the width is correct (probably with txtwidth()), and call that UDF from the report.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform