Results 1 to 3 of 3
  1. #1
    onlylonely is offline Competent Performer
    Windows 7 64bit Access 2013 64bit
    Join Date
    May 2017
    Posts
    110

    Error - method 'item' of object 'forms' failed

    Hi All,



    Initially when i write the coding no issue, but not sure why suddenly the error comes out. Anyone can help me on this?

    Code:
    Private Sub List2_DblClick(Cancel As Integer)
    
    If List2.Column(5) = "Pending_RCA" Then
    
    
    DoCmd.OpenForm "F2CAPAform"
    
    
    Forms!F2CAPAform!txtscar = Me.List2.Column(1)
    
    
    Forms!F2CAPAform!txtscar.Enabled = False
    
    DoCmd.Close acForm, Me.Name
    
    
    End If
    
    
    End Sub



    Click image for larger version. 

Name:	Method.JPG 
Views:	10 
Size:	16.7 KB 
ID:	41273Click image for larger version. 

Name:	method 2.JPG 
Views:	10 
Size:	51.1 KB 
ID:	41274

  2. #2
    davegri's Avatar
    davegri is online now Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,389

  3. #3
    onlylonely is offline Competent Performer
    Windows 7 64bit Access 2013 64bit
    Join Date
    May 2017
    Posts
    110
    Quote Originally Posted by davegri View Post
    Thanks alot... Solved.

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

Similar Threads

  1. Replies: 9
    Last Post: 11-17-2020, 11:00 AM
  2. Replies: 2
    Last Post: 03-20-2019, 10:44 AM
  3. Replies: 10
    Last Post: 11-26-2018, 02:25 PM
  4. Replies: 3
    Last Post: 09-18-2014, 12:24 PM
  5. Replies: 1
    Last Post: 07-13-2012, 07:58 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