Ok, there is your problem, more than likely. It's a scope issue. Do this, create two form properties with the same names as the variables. (Use Form, Add Property menu in Form Designer). Make the default values of the properties 1. Change your control source and all source code from using MBATCH to THISFORM.MBatch, etc. Try this.
>No I first called them in properties under control source for each option group
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05