Results 1 to 3 of 3
  1. #1
    couch potato is offline Novice
    Windows Vista Access 2003
    Join Date
    Mar 2010
    Posts
    2

    object or class does not support the set of events

    I have a database that is used once a year. It worked last spring but is showing errors now. I am using Vista and Office Professional 2003.



    The expression On Click you entered as the event property setting produced the following error: object or class does not support the set of events. Private Sub

    Here is a sample of the code that is causing the error:

    rptSettlement_Click()
    On Error GoTo Err_rptSettlement_Click

    Dim stDocName As String
    Dim stLinkCriteria As String

    stDocName = "frmPrtSettlement"
    DoCmd.OpenForm stDocName, , , stLinkCriteria

    Exit_rptSettlement_Click:
    Exit Sub

    Err_rptSettlement_Click:
    MsgBox Err.Description
    Resume Exit_rptSettlement_Click

    The (mdb) does not work but the (mde) created last year works fine. How do I solve the problem so that my (mdb) file works?
    Last edited by couch potato; 03-20-2010 at 08:56 AM.

  2. #2
    maximus's Avatar
    maximus is offline Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Aug 2009
    Location
    India
    Posts
    931
    Are you using two different versions o Ms access in one machine. Follow this link. Try importing all database objects to a blank db.

    http://www.access-programmers.co.uk/...p/t-91418.html

  3. #3
    couch potato is offline Novice
    Windows Vista Access 2003
    Join Date
    Mar 2010
    Posts
    2

    solved

    Thanks maximus

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

Similar Threads

  1. Object doesn't support property or method
    By Jamy in forum Programming
    Replies: 7
    Last Post: 07-15-2013, 01:42 AM
  2. In over my head with a database class
    By fixittech in forum Database Design
    Replies: 3
    Last Post: 01-22-2010, 07:45 AM
  3. Replies: 5
    Last Post: 08-05-2009, 04:07 PM
  4. Replies: 2
    Last Post: 02-28-2009, 03:31 PM
  5. Need some support to finish DB
    By Estyl in forum Access
    Replies: 0
    Last Post: 04-22-2008, 04:34 AM

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