Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trim character expressions
Message
From
15/07/2009 02:50:54
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Trim character expressions
Miscellaneous
Thread ID:
01412433
Message ID:
01412433
Views:
117
Hi all

say i have a name field in report. "Mark Smith123456789". according to the width of name textbox in report designer it can display maximum upto Mark Smith1234. and i want similar. to display as much as possible.
but vfp trims it to only "Mark". gets rid of the last word completely. I tried playing with different trim options in 'format' tab but it didnt help.
another idea is to hard code like this in field expression. left(allt(cname),14) . but then i will have to do this everywhere. isnt there a way to let vfp handle this automaticaly?

Thanks all for help in advance.

Mark
Next
Reply
Map
View

Click here to load this message in the networking platform