IllinoisREI
Technical User
This has me completely stumped. Using this table as an example,
ID Date Field1 Field2 Field3
1 1/1/09 600 0 1/4/09
2 1/4/09 600 600 1/4/09
3 2/1/09 1200 600 2/15/09
4 2/15/09 1200 1200 2/15/09
5 3/1/09 1800 1200 4/1/09
6 3/8/09 1800 1200 4/1/09
7 4/1/09 2400 1900 null
8 4/6/09 2400 2100 null
I need a way to find the value in Field3, which is the first instance (by date) when the value in Field2 (in a current or later entry) equaled or exceeded the value in Field1 for that specific record. I'm thinking the dfirst function could do it but I can't figure out how.
I would gladly donate to the favorite charity of anyone with a solution.
Thanks,
Kevin
ID Date Field1 Field2 Field3
1 1/1/09 600 0 1/4/09
2 1/4/09 600 600 1/4/09
3 2/1/09 1200 600 2/15/09
4 2/15/09 1200 1200 2/15/09
5 3/1/09 1800 1200 4/1/09
6 3/8/09 1800 1200 4/1/09
7 4/1/09 2400 1900 null
8 4/6/09 2400 2100 null
I need a way to find the value in Field3, which is the first instance (by date) when the value in Field2 (in a current or later entry) equaled or exceeded the value in Field1 for that specific record. I'm thinking the dfirst function could do it but I can't figure out how.
I would gladly donate to the favorite charity of anyone with a solution.
Thanks,
Kevin