I'm currently working on a system where a form is completed and upon completion the database is queried to get a set of figures and use the answers from the form to make calculations with them.
Once the calculation has been saved it must refer back to the same SQL figures when the form was originally completed, it must refer back to these original figures for a specified amount of time (lets say a month) so if the figures are updated within that month it will ignore the changes and use what was originally retreived.
Any ideas on the best way to do this?