Results 1 to 4 of 4
  1. #1
    lccrews is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Aug 2017
    Location
    Los Angeles
    Posts
    194

    Need help with my relationship.


    Hopefully that title made you chuckle... I have a field called 'potency' which resides on a master table. On the child table I have the same field listed. I'd like to have my query set to pull information from the master table 'potency' as a general guideline so to speak, but allow the user to update that value and append it to the child table and not the master table. I don't know how to do this or if it's possible. Is this a relationship issue? Right now, I have the query pulling 'potency' from the master table and other fields from the child table. Problem is, when the user updates the potency value, the master table's value is updated.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Have you tried putting the "child" table in a SubForm?

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    you run a query. Either an append query to add items to the child table,
    or and update query to put potency in an existing record.

    This is NOT a relationship. The parent /child tables are bound by MASTER.KEYid.
    This potency seems to be an extraneous field, unless each record in the child table is a dosage and requires a potency.

    Either way, youd use a query to update the field value.

  4. #4
    lccrews is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Aug 2017
    Location
    Los Angeles
    Posts
    194
    Ranman256 I get the idea you have I just am not sure of the execution. Would I draw the two tables together via query (to get the 'pre-filled potency') and then use a button to update the child table with values from this subform? The goal is to have a table on a form as a subform, and the users input information to update it.

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

Similar Threads

  1. Is it possible for more than 1 to 1 relationship?
    By SJSUSTUDENT in forum Access
    Replies: 6
    Last Post: 04-11-2017, 01:23 AM
  2. One to many Relationship
    By mjf8563 in forum Access
    Replies: 14
    Last Post: 10-27-2016, 01:53 AM
  3. Replies: 3
    Last Post: 03-19-2015, 05:26 PM
  4. Replies: 1
    Last Post: 12-06-2014, 12:49 PM
  5. one to many relationship?
    By cowboy in forum Access
    Replies: 3
    Last Post: 06-16-2010, 02:37 PM

Tags for this Thread

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