Hello again smedvid, no not a complete restart of the database - just restart the code running again.
In brief from my other post:
Form1 opened,
Form2 opened from Form1,
'sum' field calculated,
Value from unbound 'sum' field to be passed back to Form1,
...Form2.field.Value always passes a 0 (zero) value back.
if I put a breakpoint in on the '.setfocus' statement that's just before the Form2.field.Value, the code breaks as requested, if I immediately press F5 to continue and the value passed is correct ie not 0.
or
...Form2.field.text always errors with type mismatch.
if I immediately press F5 to continue and the value passed is correct ie not 0.
I could do as you suggested, it would involve some major recoding on all forms etc, and if I can't find what I'm looking for, well maybe...