Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Part of the string - in Bold
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00461366
Message ID:
00461810
Vues:
71
This message has been marked as a message which has helped to the initial question of the thread.
>>>
>>>Hi Nuno,
>>>
>>>Perhaps I worded my problem wrong: My problem is in the Report (VFP Report), I want first field be in Bold, the second is just plain. Buyer1 may have different length, i.g. Nuno Brito=10 Nadya Nosonovsky=16, IOW, for each record the position should be different. If I would display it on form or output to text file not using VFP Report Writer, I can use your formula. But in Report Writer I have to use Vlad's suggestion. Unfortunatelly, it still doesn't look right to me.
>>>
>>>May be somebody can advise a Font, where this problem would not exist (e.g. all letters the same width)? I currently use Tahoma (I like this font).
>>
>>Nadya,
>>It's Courier New
>
>Nope, still doesn't look right...
>
>May be my formula is incorrect? I'll try add ceiling in it.

You don't have to because for non-proportional font like Courier New
TXTWIDTH(SPACE(1)) = 1.
Just make sure that you've changed font for both fields on report and in your formula. It wouldn't look as pretty as with Tahoma but it should work.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform