Change tracking



I'm about to try this, but I'd like some suggestions. I have a inventory
table that an employee can update specific fields if they are incorrect,
e.g.

[INVENTORY_TABLE]
fields example data
part 1027P
serial 543221-K
qty 120
location G-5

I'd like to record what changed. Let's say they change the serial. One way
would be a "static" changes table:

[INVENTORY_CHANGES]
fields example data
old_part 1027P
new_part 1027P
old_serial 543221-K
new_serial 543221-4
....

I'm thinking a better/more flexible solution would be

[INVENTORY_CHANGES]
inventory_id (FK to inventory table)
field (in this case it would be serial, detected by comparing POST values to
original values, but could be serial and qty/location)
original 543221-K
new_value 543221-4

Just curious as to other possible solutions or problems with these (probably
the second one).

Thanks,
Mike Smith


Relevant Pages

  • Re: Tough Question
    ... Your design is incorrect. ... spreadsheet, with each person having their own spreadsheet tab, but it is ... You need an employee table that contains ONLY employee information such as ... > is in each persons inventory, so the table structure I believe is correct. ...
    (microsoft.public.access.gettingstarted)
  • RE: excel macro copy
    ... I have an inventory spreadsheet that is periodically updated with serial ... Each employee has to sign an inventory form with their individual ...
    (microsoft.public.excel.newusers)
  • Re: inventory project
    ... Look at the inventory template connected with Access. ... table and reports that you could probably adapt to your use. ... to have to do a little work to get a viable system. ... > allows me to keep track of which employee takes what ...
    (microsoft.public.access.queries)
  • Re: Tough Question
    ... each table in the database represents and employee and what items ... is in each persons inventory, so the table structure I believe is correct. ... >>> Tables and Queries appear to be working as you want them to. ...
    (microsoft.public.access.gettingstarted)
  • Combo box
    ... I am working on an inventory db. ... Main form has employee info, with subforms ... equipment to another employee using another form that is ...
    (microsoft.public.access.formscoding)