Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying the results of Date calculations on a form.
Message
 
À
21/06/2000 11:07:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00382707
Message ID:
00382714
Vues:
22
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform