I run "main" and the form appears.
I click a button that calls OnClick and get
"frm is undefined".
I see that it lost focus cause it's in another function
and I totally can't find (45 min with help) how I allowed
the form to be accessed from other functions.
I can't even figure it out from my other project that is working ok. All I see is that frm is a global variable but that doesn't make sense since it's never set.