Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to avoid truncated field ?
Message
De
14/07/2004 08:57:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
14/07/2004 00:29:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00924049
Message ID:
00924154
Vues:
15
>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform