A
Acie
I have a simple form that uses a table as the source. I'm
using Access97.
I have a button labled "Delete Record". When I press this
button it executes the following:
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acRecordsMenu, 5, , acMenuVer70
but it gives me the following error msg:
The command or action 'Refresh' isn't available now.
The funny thing is that this same commands work on another
form.
I looked through the MS knowledge base, and I swaped the
above commands for:
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdDeleteRecord
and I get a similar message:
The command or action 'DeleteRecord' isn't available now.
The form has Modal = No, Popup = No.
Any ideas ???
Thanks,
Acie
using Access97.
I have a button labled "Delete Record". When I press this
button it executes the following:
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acRecordsMenu, 5, , acMenuVer70
but it gives me the following error msg:
The command or action 'Refresh' isn't available now.
The funny thing is that this same commands work on another
form.
I looked through the MS knowledge base, and I swaped the
above commands for:
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdDeleteRecord
and I get a similar message:
The command or action 'DeleteRecord' isn't available now.
The form has Modal = No, Popup = No.
Any ideas ???
Thanks,
Acie