hendrikbez
Technical User
I have a access 2010 form, on it is a few textboxes and dates boxes.
I need when I put type info in first textbox eg. AGG666 and get to the other textbox, it must then show "UNIX" in it.
Here are the code I have, but it does not work, I am not good in vba at this moment.
first textbox name is Tape and control source is Tapes
Other textbox name is cmdsystem and control source is system
I do not think this code is correct to use, how can I do it so show the info I need in the other textbox
How will you spend eternity - Smoking or Non Smoking?
I need when I put type info in first textbox eg. AGG666 and get to the other textbox, it must then show "UNIX" in it.
Here are the code I have, but it does not work, I am not good in vba at this moment.
first textbox name is Tape and control source is Tapes
Other textbox name is cmdsystem and control source is system
I do not think this code is correct to use, how can I do it so show the info I need in the other textbox
Code:
Private Sub cmdSystem_Click()
Displaytext = IIf([Tapes] = "AAG666*", "UNIX", "KK ")
End Sub
How will you spend eternity - Smoking or Non Smoking?