Add two fields and store in another field

samedi 11 avril 2015

Hi,



I have a form (frmFeeIncome) based on a table (tblFeeIncome)



On the form I have three fields which are FeesMonth, FeesYear, FeesUK (currency), FeesElsewhere (currency) and FeesTotal (currency). Each new record is entered like this



January 2015 25000 25000



What I need is for the total in the FeesUK field and FeesElsewhere field to be added up and stored in FeesTotal when FeesTotal has GotFocus



The FeesTotal has to be stored (I know it shouldn't be but it has to!)



Any advice on this? I have tried the following in the GotFocus Event procedure but it does not work.



=[FeesUK] + [FeesElsewhere]



Many thanks in advance.

Add two fields and store in another field

0 commentaires:

Enregistrer un commentaire

Labels