Ray Stantz
Registered User.
- Local time
- Today, 11:40
- Joined
- Nov 16, 2006
- Messages
- 63
I have a button setup on a helpdesk ticket form that should save the record in the original helpdesk table and then open an Append query to add the record to an audit trail table to keep track of when we've updated info. The issue is it sometimes saves the updated info in the append query/table and at other times it appends the old info to the audit table. I'm using the following code in the OnClick event:
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70 (to save the record first)
stDocName = "qryTicketsSentAppend"
DoCmd.OpenQuery stDocName, acNormal, acEdit (and then open the Append query to add the updated info to the audit table)
Does anyone know a way to fix this so that it consistently updates with the new info?
Thanks in advance!
Ray...
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70 (to save the record first)
stDocName = "qryTicketsSentAppend"
DoCmd.OpenQuery stDocName, acNormal, acEdit (and then open the Append query to add the updated info to the audit table)
Does anyone know a way to fix this so that it consistently updates with the new info?
Thanks in advance!
Ray...