Command Button copying

  • Thread starter Thread starter Achieva
  • Start date Start date
A

Achieva

I have a form with many command buttons on it (over 30 for different reports
and actions). I have designed a new form that I would like to place many of
these same command buttons on, with similar event properties. When I copy
and paste, I get the button but none of the properties copied (on click-
open report etc.). Is there a way to copy BOTH the button and the
properties to the new form , so that I dont have to go back and forth
between forms and copy all of the event properties?

If there is no way, does anyone have a technique that saves time and effort
in the conversion process.

Thanks,
Ivan
 
To get both the buttons and the underlying event procedures you can copy the
form. Then delete the buttons (and event code) for the things you don't
want.

Have you tried using the Switchboard facilities? What you are doing is
largely what they were designed to do. They won't solve all problems but
they can lend an organized look to your application and work well when you
are organizing your functionality.

hth
 
Actually I wanted to reuse all of the buttons. I designed a new form in
which all of the buttons were relevent. In essence, I have an invoice
(order form) for a customer. Some of my customers go on payment plans. So I
have many different letters, statements and reports that might get generated
for any one particular customer (invoice, statement, payment late, payment
very late, late fee applied, thank you for your payment, product sent,
packing slip, etc, etc, etc). I find it convenient to have a seies of
buttons at the bottom of form (order form), so that while looking at the
particular customers order, we can generate an individual letter at the
operators discretion.

Had I thought it through before I designed the new form, I would have
deleted everything from the old form EXCEPT the buttons and started
designing the new form on that page.... Too Late!

It is a little cluttered at the bottom of the form. I have been thinking
about putting all of the buttons on a second tab page.

How would the switchboard facilities help in this, and how would I use them?
 
Back
Top