Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Formatting to nearest Char & ellipsis
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01246437
Message ID:
01246453
Views:
24
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform