Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Padr() for crystal report
Message
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Miscellaneous
Thread ID:
00926255
Message ID:
00926309
Views:
27
Maybe this will help some...


if len(trim({crnurse.NURSENAME})) < 45 then

{crnurse.NURSENAME} + space(45 - len(trim({crnurse.NURSENAME})))

else

{crnurse.NURSENAME}


Of course, insert your own field name and length.

>Thank craig , i am tryng...
>
>bernhart
>
>
>>I'm not aware of any function that will do this, but you can probably build one using Length(), Trim(), and ReplicateString().
>>
>>
>>
>>>Hi all,
>>>
>>>Which function to use to have the same VFP function as "Padr()" for crystal report ?
>>>
>>>Thank in advance for help
>>>
>>>bernhart
Previous
Reply
Map
View

Click here to load this message in the networking platform