Lord Sandwich
New member
- Local time
- Today, 13:22
- Joined
- Feb 12, 2005
- Messages
- 5
Hi,
I have a table wherein only new data is provided by the user, and fields that have not changed from the previous record are left Null:
Is there a simple way to produce the following results from an aggregate query:
(Where [Date] is a parameter.)
Right now my process is pretty clumsy, requiring multiple steps to get the MaxOfDate for each Field, then each Field's value corresponding to its MaxOfDate. Not pretty.
I have a table wherein only new data is provided by the user, and fields that have not changed from the previous record are left Null:
Code:
Date Field1 Field2
1 B (Null)
2 A 1
3 (Null) 2
Is there a simple way to produce the following results from an aggregate query:
Code:
Date Field1 Field2
3 A 2
(Where [Date] is a parameter.)
Right now my process is pretty clumsy, requiring multiple steps to get the MaxOfDate for each Field, then each Field's value corresponding to its MaxOfDate. Not pretty.