- Local time
- Today, 01:18
- Joined
- Feb 19, 2013
- Messages
- 17,556
not sure why you are updating a record only to then delete it
You could just have
you need a space before the WHEREDELETE * FROM tblAltPartWHERE ActionID=" & DeleteID & "")
You could just have
Code:
Set myDb = CurrentDb
myDb.Execute ("DELETE * FROM tblAltPart WHERE AltPN='" & Me.lstActionSelectPart.Value & "'")