G
Guest
I have a bound form. Before the form closes I would like to check if any
records have been changed or added. If there have been records changed, then
I need to go update another table. If no records have been changed, then I'd
like to close the form.
I've tried to add code to the On Close event. It seems like it's too late
in the process and no longer sees the form. On Dirty tries to run the code
every time a change is complete... not just once at the end of the process.
My code must not be right too. I've tried On Unload, and it can't recognize
me.Dirty or Form!CSInputs.Dirty. The program crashes and shuts down.
What code should I use and where do I apply it?
Thank you,
Cathy
records have been changed or added. If there have been records changed, then
I need to go update another table. If no records have been changed, then I'd
like to close the form.
I've tried to add code to the On Close event. It seems like it's too late
in the process and no longer sees the form. On Dirty tries to run the code
every time a change is complete... not just once at the end of the process.
My code must not be right too. I've tried On Unload, and it can't recognize
me.Dirty or Form!CSInputs.Dirty. The program crashes and shuts down.
What code should I use and where do I apply it?
Thank you,
Cathy