strong888hold
New member
- Local time
- Today, 11:18
- Joined
- Nov 29, 2006
- Messages
- 6
Hi,
I created a small database and on my form (frmGE), I added a button "Delete". This button have to move the record (just the actual record and not all records) to the form "FrmRetired". The form "FrmRetired" have the same fields, except for the "comment" field.
I tried to programm it so when i click on it, the record will be moved to the "FrmRetired" and by the same time, the record will be deleted from the form "frmGE"
I created a ADD query, but I missed something...then for the "Delete" button, I added this code
Any help will be appreciated.
Thanks
strong888hold
I created a small database and on my form (frmGE), I added a button "Delete". This button have to move the record (just the actual record and not all records) to the form "FrmRetired". The form "FrmRetired" have the same fields, except for the "comment" field.
I tried to programm it so when i click on it, the record will be moved to the "FrmRetired" and by the same time, the record will be deleted from the form "frmGE"
I created a ADD query, but I missed something...then for the "Delete" button, I added this code
Code:
Private Sub Move_data_click()
DoCmd.OpenQuery "QueryMove", acViewNormal, acReadOnly
EndSub
Any help will be appreciated.
Thanks
strong888hold