Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a better way to do it ?
Message
 
À
09/11/1999 09:44:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00288989
Message ID:
00289010
Vues:
24
How about putting the calculation code for each calculated field in it's own .Refresh Event. Then in the .LostFocus or .Valid of the record fields issue ThisForm.Refresh or get more specific if required like ThisForm.CalculatedField1.Refresh. HTH

>I've go a form. On the form a pageframe. page1 in the pageframe contains record fields and calculated fields.
>
>I defined some computations to be made in the LostFocus event of some of the record fields.
>
>When I do a refresh the fields are not recalculated. What I did is that I modified the Refresh event and added some SetFocus after a DoDefault in the Refresh event.
>
>Is there a better way to do it ?
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform