Results 1 to 3 of 3
  1. #1
    vdanelia is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2011
    Posts
    38

    Lightbulb Synchronisizing Sub-Form field To Text-Box

    Hello Dear Friends, I have a question about Synchronizing Sub-Form Field To a Text-Box!



    I have a Main form on which i use Sub-Form and text-boxes (Sub-form is Synchronized with main table data)
    I want to display Snumber and Barcode from Sub-form in Unbound text-boxes, I used the function: =DLookUp("Barcode","CODE") the field is displayed but it is not synchronized I think there must be add something like : "[DATAID]=" & [ID], but can't implement it correctly.

    Thank you In advanced

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Yes you will need a WhereCondition clause to use that method: http://www.mvps.org/access/general/gen0018.htm

  3. #3
    vdanelia is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2011
    Posts
    38
    Not Synchronizing, When navigating the records on sub-form the records displayed in the text-box is not the same...

    The fields are in the Sub-Form: (Sub-Form is based on The table [CODE])
    DATAID - Number (FK) (This field is Synchronized (Linked) with Main Table [DATA])
    Snumber - Text
    Barcode - Text

    On The form I have two Unbound Textboxes: Smunber, Barcode


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

Similar Threads

  1. Replies: 9
    Last Post: 12-15-2010, 01:44 PM
  2. Replies: 3
    Last Post: 11-05-2010, 03:10 PM
  3. Open form on update of field in another form.
    By thekruser in forum Forms
    Replies: 5
    Last Post: 09-13-2010, 02:12 PM
  4. Comparing form field with the field from database
    By np1111 in forum Programming
    Replies: 1
    Last Post: 03-22-2010, 10:01 AM
  5. Replies: 1
    Last Post: 08-14-2009, 08:41 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