Hi
I have a table with 10 fields for 100 units
Any of the 10 fields for any of the 100 units can be updated by the user at any time.
1) I want to store the data such that i can choose a unit and show what the latest entry at a given date was.
2) I want to show on a report the changed bits highlighted.
e.g. 01/01/09 unit 1 entered as A,B,C on 03/01/09 unit 1 was update to A, B, D no further changes made to date.
1) If I choose Unit 1 on 01/01/09 I get output A,B,C
If i choose Unit 2 on 04/01/09 I get output A,B,D
2) The report will look like this
03/01/09 A, B, D
01/01/09 A, B, C
How should I store the data. I have looked and found a lot of information on audit tables but then I can't figure out how to make the querys work to pull the data back out?
I have a table with 10 fields for 100 units
Any of the 10 fields for any of the 100 units can be updated by the user at any time.
1) I want to store the data such that i can choose a unit and show what the latest entry at a given date was.
2) I want to show on a report the changed bits highlighted.
e.g. 01/01/09 unit 1 entered as A,B,C on 03/01/09 unit 1 was update to A, B, D no further changes made to date.
1) If I choose Unit 1 on 01/01/09 I get output A,B,C
If i choose Unit 2 on 04/01/09 I get output A,B,D
2) The report will look like this
03/01/09 A, B, D
01/01/09 A, B, C
How should I store the data. I have looked and found a lot of information on audit tables but then I can't figure out how to make the querys work to pull the data back out?
Comment