I have a database that when new data is added, a number of things should happen. Employee data will be added to table BadgeData, certain information from the data entry form and table BadgeData should append to table Updates, and a report should print. I used a macro attached to a command button to accomplish this. The append query that I'm using works fine in a stand-alone mode, but does not work (and does not error out) when running it in the macro. Can someone tell me what I'm missing?:
Tiffany![[smile] [smile] [smile]](/data/assets/smilies/smile.gif)
Code:
INSERT INTO Updates ( CardNum, LastReauth, AutoNum )
SELECT BadgeData.CardNum, BadgeData.RequestDate, BadgeData.AutoNum
FROM BadgeData
WHERE (((BadgeData.CardNum)=Forms!NewBadgeRequest1!CardNum));
![[smile] [smile] [smile]](/data/assets/smilies/smile.gif)
![[smile] [smile] [smile]](/data/assets/smilies/smile.gif)