Results 1 to 6 of 6
  1. #1
    MayTaha is offline Novice
    Windows 7 32bit Access 2016
    Join Date
    Apr 2020
    Location
    Egypt
    Posts
    3

    Question error : The expression On Click you entered


    I created a database on access 2003 Win 7 - 32 bit .It is written in English and Arabic, and it works well.I made a copy on a PC that uses access 2003 Win10 - 64 bit . The main form contains only buttons that open other forms. When I press any button of the form it gives that error message : "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"
    When I press Ctrl+G to open Visual Basic , it give a messages a message "Unkown language"

    What should I do to fix this problem ?

  2. #2
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,815
    Bitness in Access isn't my forte, but I do know that the bitness of Windows is irrelevant to the situation. What matters is the bitness of Office and Access but you didn't say which you were referring to - those, or Windows. If your database is an accde or mde, Access bitness matters. If it's a mdb or accdb it's not supposed to matter but often does because of API calls.

    You should check the code project in the db that presents the problems to see if there are any missing or broken references.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    MayTaha is offline Novice
    Windows 7 32bit Access 2003
    Join Date
    Apr 2020
    Location
    Egypt
    Posts
    3

    it's mdb

    It's mdb. It uses user name and password and shortcut to the database.

    Quote Originally Posted by Micron View Post
    Bitness in Access isn't my forte, but I do know that the bitness of Windows is irrelevant to the situation. What matters is the bitness of Office and Access but you didn't say which you were referring to - those, or Windows. If your database is an accde or mde, Access bitness matters. If it's a mdb or accdb it's not supposed to matter but often does because of API calls.

    You should check the code project in the db that presents the problems to see if there are any missing or broken references.

  4. #4
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,815
    Did you check the project references on the pc with the problem? Likely one or more is missing or broken.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  5. #5
    MayTaha is offline Novice
    Windows 7 32bit Access 2003
    Join Date
    Apr 2020
    Location
    Egypt
    Posts
    3
    How can I check project references?

  6. #6
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,815
    Open the vb editor when the db is open (ctrl+G is one way). Go Tools > References and check the list.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Replies: 1
    Last Post: 06-22-2018, 05:53 PM
  2. Expression On Click has error
    By tagteam in forum Access
    Replies: 3
    Last Post: 07-26-2016, 11:57 AM
  3. Expression on click error
    By CHEECO in forum Access
    Replies: 6
    Last Post: 04-19-2016, 06:30 AM
  4. Replies: 7
    Last Post: 12-18-2015, 11:43 AM
  5. Expression On Click Error within a Form
    By johnson8809 in forum Access
    Replies: 1
    Last Post: 02-09-2015, 01:53 PM

Tags for this Thread

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