C
cdolphin88
Hi,
I have a report that is based on a query, but I want to use VBA code to
force something to display in the textbox, according to what is store
in the table.
For example,
If text1.text = "yes" then
text2.text ="N/A" <-- I want to force textbox2 to show me N/A
end if
but this code will work in normal VB application, not in VB inside
access....
because it give me an error
You can't reference a property or method for a control unless the
control has the focus.
So, how should I do? Can someone help me?
Cheers!
Claudi
I have a report that is based on a query, but I want to use VBA code to
force something to display in the textbox, according to what is store
in the table.
For example,
If text1.text = "yes" then
text2.text ="N/A" <-- I want to force textbox2 to show me N/A
end if
but this code will work in normal VB application, not in VB inside
access....
because it give me an error
You can't reference a property or method for a control unless the
control has the focus.
So, how should I do? Can someone help me?
Cheers!
Claudi