Hi, I searched this forum and found the solution by flyover789, but when I applied the code, I got the error runtime '3611' Cannot execute data definition statements or linked data sources.
DoCmd.RunSQL "ALTER TABLE TmpPartsTableALL DROP CONSTRAINT [TmpPartID];"
I used the first piece of code. What could be my issue here? Thanks for help!
DoCmd.RunSQL "ALTER TABLE TmpPartsTableALL DROP CONSTRAINT [TmpPartID];"
I used the first piece of code. What could be my issue here? Thanks for help!