Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shrinking a label
Message
De
13/10/2013 11:23:58
 
 
À
12/10/2013 09:53:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01585279
Message ID:
01585391
Vues:
34
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform