Hi. I have a button - Command9 with the Click event to run this code
on a form called frmSelforDel.
Dim SQL1 As String
DoCmd.SetWarnin gs False
SQL1 = "DELETE FROM 260Land WHERE 260ID = txtDel.Value"
On that same form is a text box named txtDel with a set value. 260Land
is a table with 260ID as a column.
I'm not knowledgeable enough to get the syntax correct on this
statement. Please help. Thank you!
Greg.
on a form called frmSelforDel.
Dim SQL1 As String
DoCmd.SetWarnin gs False
SQL1 = "DELETE FROM 260Land WHERE 260ID = txtDel.Value"
On that same form is a text box named txtDel with a set value. 260Land
is a table with 260ID as a column.
I'm not knowledgeable enough to get the syntax correct on this
statement. Please help. Thank you!
Greg.
Comment