Hi, can we use if condition in access statement? I tried to create a 2 textbox on the form and 1 command button and i wrote the following:
if text1.text="A" then
text2.text="Apple"
else
text2.text="Banana"
end if
..but this statement did not work. please help me to use the right syntax.
Thanks.
Jerry
if text1.text="A" then
text2.text="Apple"
else
text2.text="Banana"
end if
..but this statement did not work. please help me to use the right syntax.
Thanks.
Jerry