Results 1 to 4 of 4
  1. #1
    gafferuk is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Dec 2011
    Posts
    2

    Keeping field contents if a source changes

    I am having a little issue that I'm hoping somebody can help me with. I am writing a database for estimating contracts in the roofing industry. I want to set up a table of materials with prices next to them, not a problem. When I create a form for estimates and I select a material from a drop down list it will use the current price for the selected material. My problem is if I update the price of the materials it will change across all my estimates which is not what I want, I would only want new estimates to have the new price and old estimates to have the price I had at the time. Is there a way of freezing the field content so that it does not update when the price updates?

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    This is one of those situations where you want the value in more than one table for historical reasons. Your estimate table should have a field for the price as well as the material and you should copy the price to the table instead of doing a lookup each time.

  3. #3
    gafferuk is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Dec 2011
    Posts
    2
    yes sorry you are correct I don't need to do a lookup for the price, what I would do is a lookup of the material and then the price would be copied across. However if i do an estimate and send that quote out and the price for a material changes which i would change in the prices table how would i stop that price copying over old prices on the estimates table. i don't want old estimates to update when material prices change

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Only your form would set the price value in the estimate table, right? I don't see the problem.

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

Similar Threads

  1. Replies: 3
    Last Post: 05-23-2011, 07:29 AM
  2. Replies: 0
    Last Post: 03-29-2011, 04:11 PM
  3. Copy contents of one field to another
    By 10 Gauge in forum Forms
    Replies: 4
    Last Post: 02-11-2011, 09:51 AM
  4. keeping current entry in field until changed
    By Chazcoral in forum Forms
    Replies: 16
    Last Post: 09-09-2010, 12:01 PM
  5. Memo Field Not Keeping Data
    By maintt in forum Forms
    Replies: 1
    Last Post: 08-12-2010, 05:55 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