How to reuse a form?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,

There are many forms needed and each one only has buttons, labels and
captions on it. Here is my design idea. I would like design one form and
reuse it with a different set of buttons, labels and captions.All these infos
can be retrieved from a table when a form is being built. Could you give me
some hints or your ideas how to do it

Clara
thank you so much for your help
 
Clara,

One suggestion would be to use a tab control on a form. Have each tab
control to hold each set of labels and controls with their captions. Then
when you are ready to use the form, hide the tabs altogether and in code use
a case statement to display the desired set of controls based on some
criteria, making a specific tab to be the currently displayed tab.

--
HTH

Mr B
email if needed to:
draccess at askdoctoraccess dot com
 
I would create a form for each and create another form with command buttons
for opening each form to keep it organized. Are most of the items on the
forms that you need the same? You could use some code to hide different
controls depending on what is needed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top