Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a better way to do it ?
Message
 
À
09/11/1999 10:53:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00288989
Message ID:
00289101
Vues:
23
>>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 ?
>
>Hello Colin,
>
>Your solution really looks like a better way to do it.
>
>Thank you!

No problem. Glad to help
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
Répondre
Fil
Voir

Click here to load this message in the networking platform