Results 1 to 6 of 6
  1. #1
    annayanagi014 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Feb 2015
    Posts
    4

    Trouble in calling or getting field records from another table

    Please help me to solve this problem. I have 2 tables. The first table is "sample1" the fields in the table are



    code . Subject .
    ----- ---------

    The second table named "Sample2" has the same fields in the first table. What i do is the field "code" in first table is related in the second table in the field "code" also. Now, if the user enters a record for example "dog" in the field "code" in the first table, it will appear in the field code in the second table as a dropdown and the same "dog".

    what i want to do is if i selected dog in the second table, the "subject" field will get the record in the subject field in the first table and will be show on table 2 in subject field.

    Thanks for helping

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Don't understand data structure. What is this database for? Why would you duplicate data between tables?
    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
    annayanagi014 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Feb 2015
    Posts
    4
    Thanks sir for replying. Im planning to split forms over a network in our company. we have a message center and 8 divisions. Now, if the message center enter a subject. i want the divisions to view also the subject that the message center type.

    I have my sample here:

    Now i when i click the promotion listed in the Itdivision table i want the Remarks to be the same in the first table which is "Promotion is for promoting etc etc!" Thanks!
    (Subject in the first table is related in the subject in the second table)

    Click image for larger version. 

Name:	Untitled.jpg 
Views:	11 
Size:	74.6 KB 
ID:	19716

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Users should not interact with tables and queries, just forms and reports. The Remarks info should not be duplicated into the Division table. Options for displaying the related Remarks info:

    1. multi-column combobox http://www.datapigtechnologies.com/f...combobox3.html

    2. query that joins the two tables

    3. DLookup()
    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.

  5. #5
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722
    ??? Step back and tell readers in plain, simple English --no Access and No jargon--
    WHAT are you trying to accomplish?

  6. #6
    annayanagi014 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Feb 2015
    Posts
    4
    Thanks June7! You're the best man!

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

Similar Threads

  1. Replies: 2
    Last Post: 08-25-2014, 03:09 PM
  2. trouble calling methode ... Not found ?
    By fluppe in forum Modules
    Replies: 8
    Last Post: 07-11-2014, 06:36 AM
  3. Help with calling information to a field
    By Courtney2287 in forum Access
    Replies: 3
    Last Post: 10-26-2013, 03:26 PM
  4. Calling tables within a calculated field
    By TonyB in forum Reports
    Replies: 4
    Last Post: 09-06-2013, 03:54 AM
  5. Replies: 14
    Last Post: 09-13-2012, 01:15 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