>>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.comNever mistake having a career with having a life.