>I have a form upon which I have placed a bizobj that calculates a retail sale such as taxes, interest, downpay etx. I want to click on check boxes and caluclate, so I want to use variables like nTotalTax and have that as the control source for a textbox. I keep getting errors that the variable does not exist. I went to the form.LoadEvent and defined these variable as Local and initialized them to 0. I though that this should make them available to me all through my object. Please clarify my thinking. Thanks Bob A
LOCAL restricts the scope to the method.
As soon as the Load() was done, they went out of scope.
I recommend using custom form properties for these instead.
textbox.ControlSource = "thisform.nTotalTax"
Insanity: Doing the same thing over and over and expecting different results.