|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
select, copy, paste append using vb
I have a datasheet form & would like to automatically select, copy & paste append a record when the user checks a checkbox.
I coded DoCmd.RunCommand acCmdCopy DoCmd.RunCommand acCmdPasteAppend in the check_afterupdate event, but it keeps appending a blank record instead of the one which contained the checkbox. I tried selecting the record & then clicking the checkbox, but I got the same results. Any advice would be much appreciated! Thanks! |
|
#2
|
|||
|
|||
|
Select the record before the copy and paste append commands
DoCmd.RunCommand acCmdSelectRecord DoCmd.RunCommand acCmdCopy DoCmd.RunCommand acCmdPasteAppend lwells |
![]() |
| Viewing: Dev Articles Community Forums > Databases > Microsoft Access Development > select, copy, paste append using vb |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|