Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shrinking a label
Message
From
12/10/2013 09:53:35
 
 
To
11/10/2013 17:57:20
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01585279
Message ID:
01585361
Views:
86
>That is nifty, but it does nothing to shrink the surrounding box.
>
>Maybe I should have made clear that the whole label comes from one detail record.
>
>>This is so much easier than you think, this one of the coolest tricks in VFP, one that many people have never heard of!
>>
>>Add a single field, and use something like this as the expression: "FirstName,MiddleName,LastName;Address1;Address2;Address3;Address3;ZipCode,State"
>>
>>Try it, and get a very nice surprise! A comma separates the fields on each line, and a semicolon creates a new line. Empty fields are automatically removed.
>>
>>>Hi all:
>>>
>>>I have a label that has multiple address lines. Some of the lines may be blank, so I checked the 'Remove line if blank' option.
>>>
>>>HOWEVER in my case it does not work, because I have a box surrounding the label, so it is never blank!
>>>
>>>How can I solve this AND how can I shrink the box accordingly?
>>>
>>>Thanks,
>>>
>>>Yossi


Yossi
Can't you parse each line into a field into cursor crsLabel which is to be used for your label?
This way you can either use Tore's golden tip or John's valuable answer.
Rgds,
Koen
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform