Re: Need help setting up first query
- From: "Tom Ellison" <tellison@xxxxxxxxxxx>
- Date: Sun, 12 Mar 2006 11:56:03 -0600
Dear J:
Just address me as Tom, if you please.
SQL is the "code" for a query. Any query you can write may be expressed as
SQL. This code may be placed into the RowSource of the combo box ("drop
down") for assignment to change its behavior.
Your original post said:
"I need the value entered here to restrict the data available on the next
drop down box (called assignment)."
This indicated to me that the combo box's list would change every time
something was selected in the SignUp. Right?
There is an "event" that occurs every time the SignUp comb box is changed,
called "Click". In the code for that event, you can recover the new value
selected in the SignUp and use that to filter the query to be used as the
Assignment combo box. Perhaps you used the automated methods to create the
current query that operates the Assignment combo box. If you would look at
the RowSource property of the Assignment combo box, you may see there is
some code placed there by your programming. Copy that into your next
message. Perhaps I can figure out something from that. Also, please
provide the name of the SignUp and the Assignment combo box controls.
Tom Ellison
"Jdougal via AccessMonster.com" <u19152@uwe> wrote in message
news:5d257e69b14b7@xxxxxx
Mr. Ellison,
Thanks for your help thus far,
I'm very new to Access and have no SQL access. Is there anyway you could
provide me with a little futher assistance?
Also thanks for the second suggestion for the message, I did not even
think
of that.
Tom Ellison wrote:
Dear J:
The technique would be to assign the SQL for the second "Assignment" combo
box whenever a selection in the first "SignUp" combo box is made. The
Click
event of the SignUp combo box would be ideal for this.
If the focus (Got Focus event) is placed in the "SignUp" combo box and
there
is no "Assignment" selected, you may want it to display nothing, perhaps
exhibit a MsgBox, and pass the focus back to the "Assignments" comb box.
Tom Ellison
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-queries/200603/1
.
- Follow-Ups:
- Re: Need help setting up first query
- From: Jdougal via AccessMonster.com
- Re: Need help setting up first query
- References:
- Need help setting up first query
- From: Jdougal via AccessMonster.com
- Re: Need help setting up first query
- From: Tom Ellison
- Re: Need help setting up first query
- From: Jdougal via AccessMonster.com
- Need help setting up first query
- Prev by Date: Re: Can you help me simplify this query, if possible??
- Next by Date: Re: How can I use data from a table as criteria in a query?
- Previous by thread: Re: Need help setting up first query
- Next by thread: Re: Need help setting up first query
- Index(es):
Relevant Pages
|