Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code in report
Message
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01293004
Message ID:
01293037
Views:
17
>Thanks Hilmar and Nami
>
>The tables has already been delivered and I would not
>like to change their fields
>I was lookig for something similar to form method
>
>I would like to insert this code in my report
>
>If ap.state = "SP" delivery_date = ap.date + 5
>else
>If ap.state = "PR" delivery_date = ap.date + 7
>endif
>
>Moises

Where do you want to display this field?

Look into ICASE() function or IIF() if you only have 2 cases.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform