Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic conditions
Message
De
24/08/2010 10:04:38
 
 
À
24/08/2010 09:35:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01478115
Message ID:
01478119
Vues:
69
>Hi friends:
>
>A few years ago I programmed reports wich print labels
>
>Everything was good till... last week.
>
>I client increased its prices up to 100.00$
>
>And the first I thought was "reduce the font"
>
>After I thought prices must be big enough for most of the labels because the clients of my customer are old women with old eyes...
>
>I opened the report designer and had a look at its properties. I found "dynamic", I programmed a condition and I felt happy in advance because of the marvelous VFP 9.0 that solved my problem before it ocurred...
>
>You muy imagine if I'm here it is because something didn't work...
>
>I coded: "IF LEN(ALLTRIM(PRICE1))>6" change the font.
>
>No font is changed and prices don't appear correctly.
>
>Can anyone light my ignorance?
>
>I must say all prices under 100.00 are fine.
>
>Thank you

Hi,

how is your variable 'Price' formatted?
Just add - for testing - an other field on your label with len(alltrim(price)) and have a look

Regards,

Koen
>
> Héctor
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform