I have a form that opens. On this form there is information along with a
button that opens a payment form.
The payment form opens and I enter a payment type, cash check or charge,
a payment number like the cc number or check number, and the amount of
the payment.
I have a button on this form that when clicked adds the payment to a
table via a sql statement in vba which works fine.
My problem is when I click my close button it adds a second payment
record using the same information that I just added. I can not figure
our how to get the form to close and NOT add the second record.
It is driving me nuts!! How do I get the form to close and NOT add
another payment line??? The only time I want a payment line added is
when I click the add button.
Any help would be greatly welcomed!!
Michael Charney
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!