J
James Frater
Hello All,
On the Click() event of a button I would like to run the update query:
SQL = "UPDATE Tbl_Booking " & _
"SET Tbl_Booking.PartDelete = False " & _
"WHERE Tbl_Booking.Ev_ID = ev_id"
docmd.runSQL SQL
However it fails to find or recognise ev_id, any thoughts on where I'm going
wrong? I'm guessing it's something blindingly obvious!
If it helps the button and the value ev_id are on a continuous subform
called "frm_EventRestore".
Many thanks
James
On the Click() event of a button I would like to run the update query:
SQL = "UPDATE Tbl_Booking " & _
"SET Tbl_Booking.PartDelete = False " & _
"WHERE Tbl_Booking.Ev_ID = ev_id"
docmd.runSQL SQL
However it fails to find or recognise ev_id, any thoughts on where I'm going
wrong? I'm guessing it's something blindingly obvious!
If it helps the button and the value ev_id are on a continuous subform
called "frm_EventRestore".
Many thanks
James