A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Form lookup with event attached (based on value)



 
 
Thread Tools Display Modes
  #1  
Old June 30th, 2009, 06:41 PM posted to microsoft.public.access.tablesdbdesign
Carrena
external usenet poster
 
Posts: 2
Default Form lookup with event attached (based on value)

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!!


--
Earth 2 Web
  #2  
Old June 30th, 2009, 10:06 PM posted to microsoft.public.access.tablesdbdesign
Beetle
external usenet poster
 
Posts: 1,254
Default Form lookup with event attached (based on value)

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.

--
_________

Sean Bailey


"Carrena" wrote:

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!!


--
Earth 2 Web

  #3  
Old July 1st, 2009, 11:14 PM posted to microsoft.public.access.tablesdbdesign
Carrena
external usenet poster
 
Posts: 2
Default Form lookup with event attached (based on value)

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


--
Earth 2 Web


"Beetle" wrote:

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.

--
_________

Sean Bailey


"Carrena" wrote:

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!!


--
Earth 2 Web

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:52 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.