Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Formatting to nearest Char & ellipsis
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01246437
Message ID:
01246453
Vues:
25
Report cursor has the full name of the week, I print the report in Developement and get the disired results, however when I compile into an exe and run, it does not trim and add the ellipsis.

I can do as you indicate to get desired results, but was wondering why i get development vs exe runtime differences?



>Are you using the expression...
>
>Left(cursorname.lcDayname,3) + "..."
>
>...in the report field? If not, give it a try.
>
>Also, be careful with your CDOW(ldDate) as lcDayName... unless CDOW() is returning a padded character then you will want to use...
>
>PADR(CDOW(ldDate),9," ") as lcDayName
>
>...this will keep Wednesday, Thursday and Saturday from potentially being truncated in the cursor result set.
>
>
>>in the cursor running the report, a character field is selected by "Select .... ,CDOW(ldDate) as lcDayName, ...etc."
>>
>> In the report, it is a text box with the format to nearest character and ellipsis and expression is cursorname.lcDayname
>>
>>>Ronald,
>>>please give the complete coding input and output you are using for this formatting.
>>>Regards,
>>>Koen
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform