Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2009

    Unanswered: delete button in access grayed out

    I just migrated to ms access 2007 from ms access 2003. And I have a problem in deleting records.

    I also created a new ribbon in the new ms access 2007. I would like to know what is the code use so that I could delete the records. Here is what I got in my basRibbonCallbacks

    Sub OnActionButton(control As IRibbonControl)
    Select Case control.Id
    Case "btnOpenFormular"
    DoCmd.OpenForm "FormName"
    Case "btnCloseFrmEingabe"
    DoCmd.Close acReport
    Case "btnDelete"
    DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70 DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
    End Select
    End Sub

    is this correct? I tried this and its still not working.


  2. #2
    Join Date
    Nov 2004
    out on a limb
    Provided Answers: 59
    you have asked a question about Access 2007 in the VB forum?
    I'd rather be riding on the Tiger 800 or the Norton

  3. #3
    Join Date
    Feb 2009
    oopss sorry my bad.
    will post this in microsoft access

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts