Results 1 to 2 of 2
  1. #1
    Jester0001 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2012
    Location
    Indiana
    Posts
    69

    To "Cascade Update" or Not

    In designing my database, I will have a table with the name and price of products, which will be linked to an orders table. However, if the price of the products needs to change in the future, how can I keep the data to update the new price to only new orders, and keep the original price the same for all previous orders?



    DoI want to uncheck "Cascade Update" on my relationship? What about "Cascade Delete"? I hope I am understanding this correctly.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Typically you would save the price of the product with the order. That field would not be related to the products table in relationships, and would not change when the products table price was changed.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 6
    Last Post: 07-25-2012, 06:42 AM
  2. Replies: 11
    Last Post: 03-29-2012, 02:32 PM
  3. Replies: 16
    Last Post: 07-22-2011, 09:23 AM
  4. "Group By" causes "ODBC--Call Failed" error
    By kaledev in forum Queries
    Replies: 1
    Last Post: 03-09-2011, 02:43 PM
  5. Replies: 3
    Last Post: 03-07-2011, 08: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