M
Malcolm
Hi,
I have a transaction table where (Among other data) cash
amounts and non-resettable cash counter readings are
stored for vending machines, as follows:
Machine Date Cash Counter
School1 2/3 $47.00 1345.70
Factory7 5/3 $57.00 8745.30
School1 10/3 $87.50 1433.20
School1 23/3 $132.75 1565.95
Factory7 30/3 $87.30 8832.60 And so on.
For each [Machine] cash entry, I can check the cash
amounts against the cash counters by taking the present
counter and subtracting the most previous counter.
What I just can't seem to work out is how to have this
calculated difference in a query for a form. In other
words I need data from the most previous date [machine]
record in the current record for a calculation.
With some other data I was able to achieve this because
there was a sequential numeric field, and I created 2
queries with a relationship between [SequentialField] and
[SequentialField]+1, which aligns the next record nicely.
This sequential data is not available here though.
Any thoughts are appreciated.
Malcolm
I have a transaction table where (Among other data) cash
amounts and non-resettable cash counter readings are
stored for vending machines, as follows:
Machine Date Cash Counter
School1 2/3 $47.00 1345.70
Factory7 5/3 $57.00 8745.30
School1 10/3 $87.50 1433.20
School1 23/3 $132.75 1565.95
Factory7 30/3 $87.30 8832.60 And so on.
For each [Machine] cash entry, I can check the cash
amounts against the cash counters by taking the present
counter and subtracting the most previous counter.
What I just can't seem to work out is how to have this
calculated difference in a query for a form. In other
words I need data from the most previous date [machine]
record in the current record for a calculation.
With some other data I was able to achieve this because
there was a sequential numeric field, and I created 2
queries with a relationship between [SequentialField] and
[SequentialField]+1, which aligns the next record nicely.
This sequential data is not available here though.
Any thoughts are appreciated.
Malcolm