I have a table where 1 of the columns (ColumnA) is selected as a, b, c or d.
I want to have a button on a form which deletes all of the records where ColumnA is set to b.
Im not completely sure how to do this, but I was thinking of putting the code behind the button as something like
DELETE * FROM NameOfTable WHERE ColumnA = 'b'
Would that work?
Is there a better way of doing it?
Thank you in advance
I want to have a button on a form which deletes all of the records where ColumnA is set to b.
Im not completely sure how to do this, but I was thinking of putting the code behind the button as something like
DELETE * FROM NameOfTable WHERE ColumnA = 'b'
Would that work?
Is there a better way of doing it?
Thank you in advance