Senin, 08 Februari 2016

Re: [MS_AccessPros] Set the value of a textbox based on the value of another textbox

 

Katie-

In the After Update event of the first text box, do:

    Me.Textbox2 = Me.Textbox1 + 248

John Viescas

Sent from my iPad

On Feb 8, 2016, at 18:09, katie.trejo@yahoo.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> 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.

Thanks,

Katie

__._,_.___

Posted by: John Viescas <johnv@msn.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (3)

.

__,_._,___

Tidak ada komentar:

Poskan Komentar