Results 1 to 3 of 3
  1. #1
    TinaH is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2014
    Posts
    12

    Unbound Field Not Showing Value when on Record Selection

    I created a form with 3 unbound text boxes. The text boxes are populated using a lookup column (assigned when creating the table). The cboZIP_CODE, txtCITY_NAME, txtSTATE_ID, txtCOUNTY_ID (txtCOUNTY_ID is hidden on the form so user does not see it) are stored in the underlying table COMPLAINT upon updated/change of the record.



    The unbound field txtCOUNTY_NAME is populated onto the form so that the user can see the COUNTY_NAME but is part of the Lookup Values assigned in the ZIP_CODE lookup within the table.

    The issue is that when I use the built in Record Selector at the bottom of the form to view the previous record, the unbound txtCOUNTY_NAME returns empty on previous Record Selection.

    How can I keep or at least make the form re-enter the COUNTY_NAME into the txtCOUNTY_NAME unbound text box when going to the previous record?

    This issue is also happening on the txtER_COUNTY_NAME and txtREFRD_TXT unbound fields.

    I have attached a print screen of the Form and the code that I have placed behind each combo box using the On Change() option.
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    Options:

    1. expression in textbox ControlSource
    =[cboEE_ZIP].[Column](1)

    2. repeat the VBA code in form Current event
    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.

  3. #3
    TinaH is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2014
    Posts
    12
    Thank you, that worked. I could not figure out what control to enter the code on.

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

Similar Threads

  1. Replies: 2
    Last Post: 12-21-2012, 01:57 PM
  2. Display record in unbound text field on form
    By MAABDOLAT in forum Forms
    Replies: 1
    Last Post: 07-25-2012, 06:10 PM
  3. Replies: 1
    Last Post: 07-13-2012, 09:13 AM
  4. Replies: 2
    Last Post: 06-05-2012, 12:33 PM
  5. Unbound object not showing all of image
    By NISMOJim in forum Reports
    Replies: 11
    Last Post: 04-22-2011, 02:44 AM

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