Results 1 to 7 of 7
  1. #1
    willkr is offline Competent Performer
    Windows 10 Access 2019
    Join Date
    Mar 2023
    Posts
    110

    Field_Click no longer works


    I don't know what I did, but a form that was working perfectly earlier no longer works. When I click on a field it doesn't execute the code for that field_click. Any suggestions?

  2. #2
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,566
    What is the Code?
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  3. #3
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,938
    Did you change the name of the control? They are called controls not fields. They are populated by fields or expressions.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  4. #4
    willkr is offline Competent Performer
    Windows 10 Access 2019
    Join Date
    Mar 2023
    Posts
    110
    The control name has not changed and I put a breakpoint at the beginning of the code for the control_click. But it never gets there when I click on the control.

  5. #5
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,938
    Upload the dB then. As much is needed to see the problem.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  6. #6
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,938
    Is the control enabled?

  7. #7
    willkr is offline Competent Performer
    Windows 10 Access 2019
    Join Date
    Mar 2023
    Posts
    110
    I fixed it. I renamed the control on the form and renamed the code section and it worked just fine. I then renamed the control back to the original name and changed the code to match and voila, it now works with the original name.

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

Similar Threads

  1. Replies: 4
    Last Post: 01-03-2023, 10:32 AM
  2. Replies: 8
    Last Post: 04-18-2019, 05:46 PM
  3. Replies: 4
    Last Post: 10-04-2017, 07:59 PM
  4. Replies: 2
    Last Post: 03-01-2017, 06:36 PM
  5. Data entry form no longer works
    By Jamesiv1 in forum Access
    Replies: 1
    Last Post: 05-13-2014, 09:18 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