In the after update event of Textbox1, try something like
Me.Textbox2 = Me.Textbox1 + 248
---In MS_Access_Professionals@yahoogroups.com, <katie.trejo@...> wrote :
In Microsoft Access 2007, what VBA code do I use to set the value of a textbox based on the value of another textbox?
For example, if someone enters a date value of 2/8/2016 in Textbox1, then I want to set Textbox2 = Textbox1+248.
So that, for example, Textbox1 is 2/8/2016, and Textbox2 is 10/13/2016.
Any help is greatly appreciated.
Posted by: firstname.lastname@example.org
|Reply via web post||•||Reply to sender||•||Reply to group||•||Start a New Topic||•||Messages in this topic (2)|