?
Solved

When I try to run DoCmd.RunCommand acCmdDeleteRecord from a Shortcut Menu on a subform I'm getting an Error Message

Posted on 2005-03-27
2
Medium Priority
?
225 Views
Last Modified: 2012-05-05
that says, "can't perform DeleteRecord at this time..."  Why not?

M

What is the method for deleting the current record on a form using Recordset Method?
0
Comment
Question by:MitchellVII
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 41

Accepted Solution

by:
shanesuebsahakarn earned 1000 total points
ID: 13640038
There are a number of different methods, but most other ones involve requerying the form. Are you able to manually delete the record by selecting it and then deleting, and does the code work in a command button on the form?
0
 
LVL 5

Author Comment

by:MitchellVII
ID: 13640588
duh, had form set to not accept deletes - wow, dumb, lol.

M
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question