Ive hit an (as always) unexpected problem
How do you store in a table the RESULT of a calculated field??
When I create records with a form, some of the fields are calculated in the query grid on which the form is based. What I need to do is store the result of the calculation (a snapshot???) in a table when the record is first saved.
I suspect that this may be something to do with crosstab queries which I have never used before.
A simple example would be a great help to me.
Lets say I have a value of 25 in a field. In the query grid I have a calculated field - say 5 x the 25. At the moment when I save the record it saves the 25 - but what I need is to make a record of the result of 125 produced at the time that the record was first saved. As it is, if the 5 is subsequently altered / edited to a different, then value the original calculation result is lost.
Im really hoping there is a simple way of doing this - if anyone can help?? Im not especially looking to go down the snapshot or crosstab route (if either of those are appropriate) unless thats the simplest way of doing it.
How do you store in a table the RESULT of a calculated field??
When I create records with a form, some of the fields are calculated in the query grid on which the form is based. What I need to do is store the result of the calculation (a snapshot???) in a table when the record is first saved.
I suspect that this may be something to do with crosstab queries which I have never used before.
A simple example would be a great help to me.
Lets say I have a value of 25 in a field. In the query grid I have a calculated field - say 5 x the 25. At the moment when I save the record it saves the 25 - but what I need is to make a record of the result of 125 produced at the time that the record was first saved. As it is, if the 5 is subsequently altered / edited to a different, then value the original calculation result is lost.
Im really hoping there is a simple way of doing this - if anyone can help?? Im not especially looking to go down the snapshot or crosstab route (if either of those are appropriate) unless thats the simplest way of doing it.