Cosmos75
Registered User.
- Local time
- Today, 15:56
- Joined
- Apr 22, 2002
- Messages
- 1,281
I have leared that the code Access 97 generates for a delete button is obsolete.
http://www.access-programmers.co.uk/forums/showthread.php?s=&threadid=48562
How about the button for Adding a new record?
How about the button for Duplicate Record?
00
I've seen some thread that do this with DAO or ADO.
Duplicate / Copy / Clone Recordset (A2K)
http://www.access-programmers.co.uk...?s=&threadid=55971&highlight=Duplicate+Record
How to create new record with an old record - VBA (ghudson)
http://www.access-programmers.co.uk/forums/showthread.php?s=&threadid=34060
- I think this will work but I am wondering is what is the code that Access 97 generates doing?
http://www.access-programmers.co.uk/forums/showthread.php?s=&threadid=48562
How about the button for Adding a new record?
Code:
DoCmd.GoToRecord , , acNewRec
How about the button for Duplicate Record?
Code:
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 2, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 5, , acMenuVer70 [color=green]'Paste Append[/color]
I've seen some thread that do this with DAO or ADO.
Duplicate / Copy / Clone Recordset (A2K)
http://www.access-programmers.co.uk...?s=&threadid=55971&highlight=Duplicate+Record
How to create new record with an old record - VBA (ghudson)
http://www.access-programmers.co.uk/forums/showthread.php?s=&threadid=34060
- I think this will work but I am wondering is what is the code that Access 97 generates doing?