Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem deleting a record (URGENT)

Status
Not open for further replies.

ftpdoo

Programmer
Aug 9, 2001
202
GB

Any help would be much apprichied:

The problem is i'm getting an error when i run the line:

DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70

and get the following error:

the command or action 'SelectRecord' isn't available now

any ideas?
 
I really have no ideal, but look at the spaces, maybe they have something to do with it. Here is the code from one of my Delete Button, maybe it will give you an ideal of where to start.

DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top