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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only