I need to maintain an Access.mdb file that someone wrote. One of the button functions in this .mdb is to delete some data in an external MSSQL database. Everything is very simple, but this syntax is not what I saw before:
DELETE tblEquipmentConnections.SourceEquip, tblEquipmentConnections.EquipmentConnectionID FROM tblEquipmentConnections WHERE tblEquipmentConnections.SourceEquip = [Forms]![frmEquipment]![EquipmentID];
Is this something other than that?
DELETE FROM tblEquipmentConnections WHERE tblEquipmentConnections.SourceEquip = [Forms]![frmEquipment]![EquipmentID];
I can't find a case where specifying specific columns does anything, but I don't spend a lot of time accessing, so I'm not sure how different the SQL syntax is ...
Thanks!
Seanw source share