Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic conditions
Message
From
24/08/2010 10:04:38
 
 
To
24/08/2010 09:35:24
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01478115
Message ID:
01478119
Views:
70
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform