Hi,
I am have a little bit of experience with Access but I need some help with a database for a school IPT assignment.
Basically I have a button on a form that I want to run an Update query on the currently displayed record.
I have been using this SQL to update but it updates all records.
Code:
UPDATE BlueSlips SET Detention = False;
I have tried to using code #2 but it comes up with Compile Error and highlights the Private Sub line.
Code #2
Code:
strSQL = strSQL & "UPDATE BlueSlips SET Detention = False; WHERE BlueSlipsID = " & Me.BlueSlipsID
Any help would be appreciated
Thanks.