I have a Form with a Button on. The form is a text input form that updates data on a table.
The data i have pulled in to view on the form is held in a temporary table and the query i am trying to run, takes the updated data and puts it into the original table.
temp table name - tbl_TempEdit
original table name - tbl_SubmissionData
the query name is: QryUpdateSubmissionDatafromTempEdit
the query runs when i manually edit the data in the tbl_TempEdit table, then run the query. BUT when i click the button on the form, it doesnt update the data on the tbl_SubmissionData table
here is the VBA code from the button on the form.
Private Sub Update_Click()
DoCmd.SetWarnings False
DoCmd.OpenQuery "Qry_UpdateSubmissonDatafromTempEdit", acViewNormal
DoCmd.SetWarnings True
DoCmd.Close acDefault
End Sub
Please, Please Please, help me to point out WHERE i have gone wrong.
Thanks
Paul
The data i have pulled in to view on the form is held in a temporary table and the query i am trying to run, takes the updated data and puts it into the original table.
temp table name - tbl_TempEdit
original table name - tbl_SubmissionData
the query name is: QryUpdateSubmissionDatafromTempEdit
the query runs when i manually edit the data in the tbl_TempEdit table, then run the query. BUT when i click the button on the form, it doesnt update the data on the tbl_SubmissionData table
here is the VBA code from the button on the form.
Private Sub Update_Click()
DoCmd.SetWarnings False
DoCmd.OpenQuery "Qry_UpdateSubmissonDatafromTempEdit", acViewNormal
DoCmd.SetWarnings True
DoCmd.Close acDefault
End Sub
Please, Please Please, help me to point out WHERE i have gone wrong.
Thanks
Paul
