Nigel,
The finish date is entered for the onClick line and stays there
The code that makes the table updates the MSysObjects system table and that date is used for the reference to the finish date on the OnClick line and you can't wind it back.
So for example lets say the finish date is 14/1/09 *86400 so that number goes to the OnClick line.
If the program is run today then the MSysObjects system table will get a new record for Now() and that value goes into a text box. The highest Now() is taken from the system table. Winding the computer back will just put a lower value Now() into the table but it is the highest that goes to the textbox.
The table created by the code is irrelevant except the creation of it prioduces the Now() for the system table.
I have now added this to the end of the code
DoCmd.DeleteObject acTable, "UsysEmail"
Thus that table won't ever been seen if they choose View System Objects.
I will play with it some more later today to see if I can defeat it.
The finish date is entered for the onClick line and stays there
The code that makes the table updates the MSysObjects system table and that date is used for the reference to the finish date on the OnClick line and you can't wind it back.
So for example lets say the finish date is 14/1/09 *86400 so that number goes to the OnClick line.
If the program is run today then the MSysObjects system table will get a new record for Now() and that value goes into a text box. The highest Now() is taken from the system table. Winding the computer back will just put a lower value Now() into the table but it is the highest that goes to the textbox.
The table created by the code is irrelevant except the creation of it prioduces the Now() for the system table.
I have now added this to the end of the code
DoCmd.DeleteObject acTable, "UsysEmail"
Thus that table won't ever been seen if they choose View System Objects.
I will play with it some more later today to see if I can defeat it.