Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shrinking a label
Message
From
14/10/2013 16:49:06
 
 
To
13/10/2013 11:23:58
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:
01585472
Views:
110
>>>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
>
>Koen:
>
>In my case, I don't think this would not be practical, since not all the lines on the label are aligned. Additionally, there are different fonts as well as barcodes that are created at runtime.
>
>Thanks for your suggestions,
>
>Yossi

Yossi,
Sorry in that case, different font, it is more practival to make use of a cursor field for each element. Outlining left or right also easy to be done on a report/label field, barcodes to be created at runtime?basicly just set the correct font and give the initial code.
Regards,
Koen
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform