hi Toukey,
adding on,
this statement affects the record that is showing on the form:
?DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
not the record in the recordset. If the record on the form is what you want to change, instead of DoMenuItem (which is? archaic), and to be sure it needs to be saved, use this:
with me
?if .dirty then
?.dirty = false
?end if
end with
~~~
you should release your object variables. After
On 6/21/2019 8:00 AM, Duane Hookom? [MS_Access_Professionals] wrote:
Toukey,Have you tried any trouble-shooting such as setting break points, debug.print, or others? What were your results?
Is there a reason you didn't simply use an update query in place of a recordset?
Regards,Duane
From: MS_Access_Professionals@yahoogroups.com <MS_Access_Professionals@yahoogroups.com> on behalf of toukey1 <no_reply@yahoogroups.com>
Sent: Friday, June 21, 2019 7:49 AM
To: MS_Access_Professionals@yahoogroups.com
Subject: [MS_AccessPros] Update table using a recordset?
__._,_.___
Posted by: crystal 8 <strive4peace2008@yahoo.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (3) |
SPONSORED LINKS
.
__,_._,___
Tidak ada komentar:
Posting Komentar