![[morning] [morning] [morning]](/data/assets/smilies/morning.gif)
I've been handed to task of creating a database that holds security badge info. BadgeData is the active badge data, but once an employee is terminated, I need to have the data moved to Termed table and deleted from BadgeData. The delete query selects the CardNum from the form IndivData and previews the correct record, but does not delete it. The message I received is: "Could not delete from specified tables. (Error 3086)". HELP says the error means the database was opened in Read-only or that I don't have permission to modify the table. Neither of these are true.
Here is the SQL for the query:
[/code]DELETE BadgeData.*, TempTermed.CardNum
FROM TempTermed INNER JOIN BadgeData ON TempTermed.CardNum = BadgeData.CardNum;
[/code]
Any help that can be provided would be great!I'm all ears...
![[bigears] [bigears] [bigears]](/data/assets/smilies/bigears.gif)