Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help, Help!! Where's my comma?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00172779
Message ID:
00172825
Vues:
25
>I built a report in VFP.
>
>I have a last name field and a first name field.
>I want a comma after the last name on the report.
>I used the following expression in the report field:
>
>mytable.mylastname + ", "
>
>The last name prints, but the comma never prints on the report.
>
>Any ideas? I am new to reports so I am not surprised something is not working. Thanks for your help.

Some possibilities:

1. Your field isn't wide enough. Make it wider.

2. MyTable.MyLastName has trailing spaces, and the comma appears farther right than it should. Use either TRIM(MyTable.MyLastName)+"," or MyTable.MyLastName-","

HTH!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform