I do apolgise if this already looks like what's probably been answered in other post, i just couldn't get any that closely match what i am trying to do.
Basically i have my table and fields as:
Date Change reason Amount
28/11/2006 Reinstatement 450
27/11/2006 Sale -50
23/11/2006 Add grant 100
22/11/2006 lapse -450
16/11/2006 Grant 600
what i want to do is get information where the change reason of the negative table that precedes the reinstatement. only where it's a lapse.
Basically i know sale is a negative just before reinstatement but i want a loop to ignore that unless it's a lapse negative.
Any ideas please.
Basically i have my table and fields as:
Date Change reason Amount
28/11/2006 Reinstatement 450
27/11/2006 Sale -50
23/11/2006 Add grant 100
22/11/2006 lapse -450
16/11/2006 Grant 600
what i want to do is get information where the change reason of the negative table that precedes the reinstatement. only where it's a lapse.
Basically i know sale is a negative just before reinstatement but i want a loop to ignore that unless it's a lapse negative.
Any ideas please.