Results 1 to 4 of 4
  1. #1
    KiowaPilot is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Oct 2018
    Posts
    2

    Conditional Relationship between specific Fields on two Seperate Tables

    Looking for help on how to have specific fields on Table A update into Table B in a 1 to Many relationship



    I need "Date of Sale" from Table A to update "Date of Sale" on Table B so that only most recent sale shows on Table B while also updating either "Cash" or "Credit" fields in Table B depending on which was used also only showing most recent sale.

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    ??Please describe the "business" being supported by this proposed database.

    In many situations a Sale occurs on a specific date. I'm not sure how to interpret
    the most recent Sale
    . Is it the Sale of Product X to Customer Y? This can be done via a query.

    Perhaps a little more detail and an example or two would clarify your post and requirement.
    It would also be helpful if you posted a jpg of your tables and relationships.

  3. #3
    KiowaPilot is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Oct 2018
    Posts
    2
    Each sale, entered into our sales table (Table A) in batches of roughly 200 at a time, will be for a specific customer already in our customer table (Table B).
    Trying to track most recent date of sale for each customer and when was the last cash or credit purchase.
    I want my customer table to be updated each time I append data onto my sales table.

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    I recommend you use a query and not duplicate data.
    I also suggest you use a naming convention that does not have embedded spaces in field/object names.

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

Similar Threads

  1. Replies: 7
    Last Post: 06-28-2017, 04:33 PM
  2. Replies: 24
    Last Post: 02-20-2013, 12:49 PM
  3. Joining two Tables on two seperate Fields
    By Atlascycle in forum Queries
    Replies: 1
    Last Post: 01-23-2013, 09:01 AM
  4. Replies: 14
    Last Post: 01-10-2012, 03:12 PM
  5. Replies: 5
    Last Post: 05-18-2011, 08:57 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