Cancel unload on main form if subform generates error
Posted on 2006-06-23
I have an event on my main form when it unloads to set the source object for it's subform to blank. On the subform form I have unload events that check for values in fields and if it finds them it will display an option to fix it or ignore it. If they want to fix it it cancels the unload and takes them to that field. If they choose to ignore it then it continues with the unload. What I'm trying to do is let the subform finish all of it's stuff first before he main form unloads.