Hi,
I have an update query wherein it will change the value of a certain column in the database as long as it will satisfy a certain value. The value will come from the current open form.
here is the flow if the events:
Open the form which has record in it, there is a
button that upon pressing will call a macro and the macro will call the update query. The update query's value is dependent on the form's textbox.
I am using this code in the update query "[FORMS]![F1]![CASE_ID]" where F1 is the name of the form and CASE_ID is the name of the textbox.
It is not working for it always pops a window that shows "[FORMS]![F1]![CASE_ID]" as a message and a textbox the requires user input. If I put the value of the case id, then it starts to update.
I want it to be automated. That when I press the buton, it will automatically pick the value of the CASE_ID textbox and update the database.
Please help!
Thanks,
I have an update query wherein it will change the value of a certain column in the database as long as it will satisfy a certain value. The value will come from the current open form.
here is the flow if the events:
Open the form which has record in it, there is a
button that upon pressing will call a macro and the macro will call the update query. The update query's value is dependent on the form's textbox.
I am using this code in the update query "[FORMS]![F1]![CASE_ID]" where F1 is the name of the form and CASE_ID is the name of the textbox.
It is not working for it always pops a window that shows "[FORMS]![F1]![CASE_ID]" as a message and a textbox the requires user input. If I put the value of the case id, then it starts to update.
I want it to be automated. That when I press the buton, it will automatically pick the value of the CASE_ID textbox and update the database.
Please help!
Thanks,