Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Field is too short and need an smart trim
Message
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00521049
Message ID:
00521101
Views:
21
Has to be a function call:

smarttrim_it(subdivsn, phase_unit, lot, block)

Before you run the report:

set procedure to some_prg
repo form myreport
release procedure some_prg

>I have never done a UDF in a report before. In the reportfield expression I would
>
>DO smarttrim_it in smarttrim.prg with subdivsn, phase_unit, lot, block
>
>Does that seem correct?
>
>Brenda
>
>>Hi Brenda,
>>
>>In this situation I would create a little UDF to give me, what I want. You can >place UDF at the same directory with the report, so it would be always visible.
>>
>>Take a look at txtwidth function, it seems to be handy here.
>>
>>Good luck!
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform