A
accessuser1308
I actually have two questions:
Question 1
I have a combo box on my form. In the after update event of the combo box I
am running an update query...
UPDATE table1 SET table1.Avail = Yes
WHERE (((table1.Plate)=[frmform1].[identity));
After I select a choice from the combo box the update query runs, but it
prompts me to enter the identity instead of looking to the field 'identity'
on the form. If I type the value (which is located in identity) the query
works correctly. It, however, will not run without me typing the value. Is
there a way to get the query to run by matching the value in the identity
field on my form without being prompted to enter the value.
Question 2
When the update query mentioned above is run it prompts me, telling me it is
going to run the query. When I click yes it prompts me to enter the value in
the identity field. If I type the value it prompts me again, stating it will
update x# of records. My question is, how can I prevent Access from posting
both of these messages. I would like to make my selection from the combo
box, have the query run and not be prompted at any point.
Thank you
Question 1
I have a combo box on my form. In the after update event of the combo box I
am running an update query...
UPDATE table1 SET table1.Avail = Yes
WHERE (((table1.Plate)=[frmform1].[identity));
After I select a choice from the combo box the update query runs, but it
prompts me to enter the identity instead of looking to the field 'identity'
on the form. If I type the value (which is located in identity) the query
works correctly. It, however, will not run without me typing the value. Is
there a way to get the query to run by matching the value in the identity
field on my form without being prompted to enter the value.
Question 2
When the update query mentioned above is run it prompts me, telling me it is
going to run the query. When I click yes it prompts me to enter the value in
the identity field. If I type the value it prompts me again, stating it will
update x# of records. My question is, how can I prevent Access from posting
both of these messages. I would like to make my selection from the combo
box, have the query run and not be prompted at any point.
Thank you