I have a form with actions queries that run via VBA when the form closes.
If something happens and the form closes (Close database with form open, Click X (I can remove this) rather than "Exit Button", the value I need for the action queries to run, is lost and I get the pop up prompting me for the value.
Is there a way to retain that value( believe I had read this once long ago) so that no matter how the form closes, that value is available for all the action queries to run as the database is closing? Sorry, not a newbie, but drawing a blank and hoping to trigger some of my access friends thoughts on this before putting a great deal of thought in to it...
Thank you so much in advance. Swamped at work and it's taking away from love of building in Access!