Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Align the Memo field
Message
De
06/07/2022 06:42:24
 
 
À
06/07/2022 02:00:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Divers
Thread ID:
01684626
Message ID:
01684629
Vues:
55
>I use Memo field as header, I centered it as
>
>      MyCafe Coffee Shop[Enter]
>        Hillcrest Mall[Enter]
>         Yonge Street[Enter]
>           Toronto[Enter]
>
>On the receipt, it will print as:
>
>      MyCafe Coffee Shop 
>        Hillcrest Mall 
>         Yonge Street 
>           Toronto
>
>But on the bill, I want it align as:
>
>MyCafe Coffee Shop
>Hillcrest Mall
>Yonge Street
>Toronto
>
>Is that possible?

I don't think you can do that in the report itself, but in the code that puts the data together, use ALINES() to bring the memo into individual lines, ALLTRIM() each one and put them back together.

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform