Results 1 to 2 of 2
  1. #1
    cap.zadi is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2011
    Location
    KSA
    Posts
    481

    Values from Mainform to childform in case if...

    Hey there,



    I have one main form with subform.

    Mainform:

    frmT5
    TestNo
    MtrlID (A200, B200, C300, D300) - Combobox, ValueList
    Length

    frmRT5
    RNo
    Weight
    ADCal
    GrsCal



    Q1:
    so how it could be possible when i select a MtrlID frm list like A200 so its weight shud appear in frmRT5 weight field and same for other items.

    Q2:

    How it could be for length also if i select MtrlID like C300 So its lenght shud be appearing in length field.

    where to define those va;ues with with MTRLID so when ever it is select relevent information appears in those fields.

    thanks

    zee

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,621
    Not understanding data structure. If Master/Child link properties of the subform container control are set to the primary/foreign keys of the tables data will synchronize. I don't understand the relationship here. If each MtrlID has a fixed length/weight value that can be found in another table, why do you need to save again? Retrieve related info by joining tables in query.
    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. Link between subform and mainform
    By crowegreg in forum Forms
    Replies: 2
    Last Post: 08-24-2011, 07:05 AM
  2. make textbox lookup values case insensitive
    By sephiroth2906 in forum Forms
    Replies: 2
    Last Post: 04-22-2011, 10:36 AM
  3. MainForm/SubForm question
    By 10 Gauge in forum Forms
    Replies: 5
    Last Post: 03-04-2011, 07:46 AM
  4. Filter a subform based on mainform
    By Cheshire101 in forum Queries
    Replies: 3
    Last Post: 01-06-2011, 12:56 PM
  5. Replies: 0
    Last Post: 03-14-2009, 12:33 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