Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying the results of Date calculations on a form.
Message
 
To
21/06/2000 11:07:29
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00382707
Message ID:
00382714
Views:
24
Return the result from a method on the form. In the Init (or wherever appropriate) set a label caption (or read-only textbox value) to the result of the method call. Don't forget to change to STR() if it returns numeric.

>A table contains a date field. We would like to display the results in years of taking the current date and subtracting the date in the date field within the table. We have attempted to use a text box on a form and set the value to a formula without success:
> =year(date())-year(date field name)
>What is the correct way to do this?
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Reply
Map
View

Click here to load this message in the networking platform