Hi Andy,
It is kind of irrelevant whether the record is new or not because if the
existing record is opened and the checkbox is not ticked then you want
certain controls to be in a certain state, and if it is ticked then the
controls are in a different state.
I have however, assumed that a new record would have the checkbox unticked.
To set breakpoints, in the VBA window click on the vertical bar immediately
to the left of your code. It should create a brown spot and highlight that
line of code.
To remove breakpoints, click on the spot or in the menu Debug/clear all
breakpoints. I'm using 2003 but I can't see 2007 being that different.
The code will stop running on the breakpoint and require your input to
continue running the code. F5 should make it continue or click the green
arrowhead on the toolbar.
Regards,
Nick.