B
Bruce
I'm using Access 2007. I have a Customer Table and a Billing Table and have
created Forms for each. When I have a particular Customer displayed in the
Customer Form and need to set up Billing Info, I have a Checkbox, or Toggle,
or Button (have tried all 3) on the Billing Info Table where if it is clicked
will fill in the info from Customer Form. If clicked again, it should empty
the Form.
It fills in perfectly, but won't clear it on reclick. I created a Clear Form
Button which works just fine. My secondary, and most frustrating problem, is
that I can click ANYWHERE outside the form to have the Form filled in with
the correct data!
Here are a few lines from the Macro:
Not [Forms]![Billing Info]![Same as Home Address].[Enabled]
GoToControl
[Billing Address]
SetValue
[Forms]![Billing Info]![Billing Address], ""
which I thought when I remove the Check or the Bullet from the field should
blank the field. It doesn't.
The same Macro then continues emptying other fields and continues with:
[Forms]![Billing Info]![Same as Home Address].[Enabled]
GoToControl
[Billing Address]
SetValue
[Forms]![Billing Info]![Billing Address], [Forms]![Customers]![Address]
This part works just fine! And the Clear Form Button works just fine to
clear the data. But again, why does the data fill in when I click ANYWHERE
outside the fields of the Form? I've set the Macro to run using On Click on
the Checkbox, Toggle, or Button. There is no On Change for these 3.
Any help would be greatly appreciated! And thanks in advance!
created Forms for each. When I have a particular Customer displayed in the
Customer Form and need to set up Billing Info, I have a Checkbox, or Toggle,
or Button (have tried all 3) on the Billing Info Table where if it is clicked
will fill in the info from Customer Form. If clicked again, it should empty
the Form.
It fills in perfectly, but won't clear it on reclick. I created a Clear Form
Button which works just fine. My secondary, and most frustrating problem, is
that I can click ANYWHERE outside the form to have the Form filled in with
the correct data!
Here are a few lines from the Macro:
Not [Forms]![Billing Info]![Same as Home Address].[Enabled]
GoToControl
[Billing Address]
SetValue
[Forms]![Billing Info]![Billing Address], ""
which I thought when I remove the Check or the Bullet from the field should
blank the field. It doesn't.
The same Macro then continues emptying other fields and continues with:
[Forms]![Billing Info]![Same as Home Address].[Enabled]
GoToControl
[Billing Address]
SetValue
[Forms]![Billing Info]![Billing Address], [Forms]![Customers]![Address]
This part works just fine! And the Clear Form Button works just fine to
clear the data. But again, why does the data fill in when I click ANYWHERE
outside the fields of the Form? I've set the Macro to run using On Click on
the Checkbox, Toggle, or Button. There is no On Change for these 3.
Any help would be greatly appreciated! And thanks in advance!