Results 1 to 3 of 3
  1. #1
    sonoamore is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2012
    Posts
    18

    Fields not Registering

    Hello all!



    So in my database I have a table with a few fields (let's say, A,B,C,D,E) all text.

    For some reason, only D and E are registering through VBA. Meaning, let's say I do a Me. command, I can only get D and E to work, and not A, B, or C. A,B,C don't even appear in the list.

    What am I missing?

    Thanks!!!!!!

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows XP Access 2003
    Join Date
    Aug 2013
    Posts
    7,862
    Me. is not a command. It is a shortcut to include the collection name and the Object name. If you are using code in a form's class module then you can reference a control like this, Me.ControlName.

    If your are typing code in the module, you can use intelisense. If you type Me. you will get some options displayed in intelisense. If you do not see your control name, look at your control properties to double check the name of the control. Look in the Other tab of the properties pane for the control.

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,972
    Where is this code - behind a form? Are you sure fields A,B,C actually included in the form's RecordSource?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 1
    Last Post: 10-11-2013, 10:05 PM
  2. Replies: 1
    Last Post: 06-20-2013, 05:06 PM
  3. Replies: 8
    Last Post: 08-02-2012, 10:50 AM
  4. Replies: 12
    Last Post: 05-07-2012, 12:41 PM
  5. Registering Jet 4.0
    By NormJ in forum Access
    Replies: 0
    Last Post: 06-02-2011, 12:29 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