handlebarry
Technical User
I have a simple form with a text box and a combo box outputting to one table. User fills in text box, choses from combo box and then clicks on a command button to save record (acNewRecord). Currently both fields clear after saving. What I'm trying to do is keep what the user has entered into text box for all subsequent records.
I have found the following solution from earlier threads but cannot get it to work.
'Select record
'DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
'copy record
'DoCmd.DoMenuItem acFormBar, acEditMenu, 2, , acMenuVer70
'Paste Append
'DoCmd.DoMenuItem acFormBar, acEditMenu, 5, , acMenuVer70
' Then delete the fields you don't want
'Me!Name = ""
'Me!Address = ""
In Access 2000 should I be using RunCommand instead, if so can anyone advise how. Is this the ideal solution to this at all?
thanks