Form lookup with event attached (based on value)

C

Carrena

I'm new to access and haven't gotten to know programming code yet. I'm just
learning how to build a database with access tools.

I've built a .accdb database (for our Real Estate investment company) that
allows a non-access person to navigate the database using forms.

My problem: I have a form with a lookup.. listing status of a property
(Schudule Repairs, Repairing, Listed, Sale Pending, Hold, Closed). I would
like an
event that when "Closed" is selected, moves the tab to a field that asks for
"Closed Date". The macro I build is condtional with a "goToControl" action.
I get a error message; "...the component doesn't make the property or method
available for Automation operations.."

What does this error message mean? Any suggestions on how to build this
event are greatly appreciated!! Please help!!
 
B

Beetle

One thing to be aware of is that you can't set focus to a field.
You have to set focus to the control (text box, combo box, etc.)
If the name of the control is different than the field name, you'll
need to make sure that you use the control name.
 
C

Carrena

What actions should I have to make this work?
I have my conditional statement, followed by "GoToControl" action.
What am I forgetting?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top