hi all,
i have the following simple update query, which i hope to run on a form that will take values from that form and update a table.
i have got the query working, but i am not sure how to reference values from the form into the query.
UPDATE Stalls SET stallholder_id = ([lst_stallholder_id])
WHERE stalls.event_id=[cbo_event_choice] And stalls.stall_number=[lst_avaliable_stalls];
The values i want to pass in are the valuse the user selects from list boxes and combo boxs on the form.
Is it possible to refernce the form that i wish to take thes values from?
eg WHERE stalls.event_id = formname.[controlname]
Or is there another way i can take multiple values from a form and update a table with them?
thanks in advance
i have the following simple update query, which i hope to run on a form that will take values from that form and update a table.
i have got the query working, but i am not sure how to reference values from the form into the query.
UPDATE Stalls SET stallholder_id = ([lst_stallholder_id])
WHERE stalls.event_id=[cbo_event_choice] And stalls.stall_number=[lst_avaliable_stalls];
The values i want to pass in are the valuse the user selects from list boxes and combo boxs on the form.
Is it possible to refernce the form that i wish to take thes values from?
eg WHERE stalls.event_id = formname.[controlname]
Or is there another way i can take multiple values from a form and update a table with them?
thanks in advance