Results 1 to 4 of 4
  1. #1
    uronmapu is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2012
    Posts
    124

    Help: Run-time error 2046 the command or action "DeleteRecord" isn't available now

    Please help me error

    Run-time error 2046 the command or action "DeleteRecord" isn't available now






    Please see my file for information

    http://www.mediafire.com/?3545jb4szs35h1r

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    If this thread is truly Solved, how about sharing your solution with others that read this Forum?

  3. #3
    uronmapu is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2012
    Posts
    124
    before, My code is error

    Code correct below

    Private Sub Delete_Click()
    CurrentDb.Execute "Delete * From tblNames Where RecordID = " & Me.RecordID


    DoCmd.Close acForm, Me.Name

    Please see attached file for information detail: http://www.mediafire.com/?gx52u7393g9ll95

    and Could you answer my question in this link https://www.accessforums.net/access/...ord-25526.html

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Thanks for sharing.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 05-06-2012, 06:29 PM
  2. "Group By" causes "ODBC--Call Failed" error
    By kaledev in forum Queries
    Replies: 1
    Last Post: 03-09-2011, 02:43 PM
  3. Replies: 2
    Last Post: 12-02-2010, 02:35 AM
  4. command or action " isn't available
    By laqsb in forum Access
    Replies: 3
    Last Post: 07-23-2010, 10:29 AM
  5. "There was an error executing this command"
    By rnichols86 in forum Access
    Replies: 16
    Last Post: 11-18-2009, 06:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums