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:
01246450
Views:
22
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