Missing Field in intellisense dropdown

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • benchpolo
    New Member
    • Sep 2007
    • 142

    Missing Field in intellisense dropdown

    Code:
    Private Sub Frame219_AfterUpdate()
         If Me.Frame219.Value = 1 Then               Me.wasextension2.Value = "Y"
    End Sub
    I have a table field in SQL called extension2, and it is linked via ODBC connection in Access 2010. When I compile my code i get an error "Method or data member not found" error, but I can see field "wasextensi on2" in my link tables. Is there a configuration that i need to check?
    Thanks.
  • beacon
    Contributor
    • Aug 2007
    • 579

    #2
    Have you tried dropping the "Me.wasextensio n2.Value = 'Y'" to the next line and adding an "End If" on the line after so it looks like this:

    Code:
    Private Sub Frame219_AfterUpdate() 
         If Me.Frame219.Value = 1 Then
              Me.wasextension2.Value = "Y"
         End If
    End Sub
    I'm not sure if this will make any difference, but it's worth a shot.

    beacon

    Comment

    • TheSmileyCoder
      Recognized Expert Moderator Top Contributor
      • Dec 2009
      • 2322

      #3
      First thing to check is that the field is actually also pulled into your record source for the form you are using.

      If that doesn't work I would suggest you try to decompile, and then recompile your database.

      Comment

      Working...