How to save calculated values in MS Access

前端 未结 3 1119
花落未央
花落未央 2021-01-26 22:27

I have a textbox in a form that I created.

I want to add an expression in the textbox\'s Control Source property. I also want to bind the textbox to a field in the tabl

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-26 23:15

    If you have textboxes with names text1 and text2 and you will save your answer in text3 you should give this code in text3 properties Control Source:

    =Val([text1])+Val([text2])
    

提交回复
热议问题