JGalletta
Windows 7 Access 2010
- Local time
- Today, 05:14
- Joined
- Feb 9, 2012
- Messages
- 149
What am I doing wrong here???
It's giving me a "Run-time error '3128': Specify the table containing the records you want to delete."
Does this mean I cannot delete all of this stuff in this manner?
Code:
DoCmd.RunSQL "DELETE tblScoutingRecords.*, tblScoutingRecords.[Record Number], tblFieldRecJoin.*, tblFieldRecInfo.* FROM (tblScoutingRecords INNER JOIN tblFieldRecJoin ON tblScoutingRecords.[Record Number] = tblFieldRecJoin.[Record Number]) INNER JOIN tblFieldRecInfo ON tblFieldRecJoin.JoinPK = tblFieldRecInfo.JoinPK WHERE (((tblScoutingRecords.[Record Number])=[Forms]![frmScoutingRecords]![Record Number]))"
It's giving me a "Run-time error '3128': Specify the table containing the records you want to delete."
Does this mean I cannot delete all of this stuff in this manner?