Tab Control

G

Guest

I have a form already created with contact information on it. I now want to
put what I have on this form on a tab control so that I can add more
information and a couple of subforms. I went into design view of the form I
have already created, and clicked on all the fields and cut them and then
added a tab control and then pasted the field onto the first tab. However,
any command button that were on for now when I click on them, they don't work.

What is the best way to add the tab control on my form and add all the
fields and command button onto the tabbed control? I am using Access 2003.

Thanks in advance for any help.

Best regards,

Dee
 
R

Rick Brandt

Dee said:
I have a form already created with contact information on it. I now
want to put what I have on this form on a tab control so that I can
add more information and a couple of subforms. I went into design
view of the form I have already created, and clicked on all the
fields and cut them and then added a tab control and then pasted the
field onto the first tab. However, any command button that were on
for now when I click on them, they don't work.

What is the best way to add the tab control on my form and add all the
fields and command button onto the tabbed control? I am using Access
2003.

Thanks in advance for any help.

Best regards,

Dee

Any time you cut and paste a control that has Event Procedures attached to
it you lose the property setting "[Event Procedure]". The code is still
there all you need to do is put those property entries back.

Unfortunately, cutting and pasting is the only way to get existing control
onto a TabPage. NEWQ controls can be drag n' dropped, but not existing
ones.
 
G

Guest

Hi Rick,

How do I put the propery entries back? Do you mean I have to add the code
again?

Best regards,

Dee

Rick Brandt said:
Dee said:
I have a form already created with contact information on it. I now
want to put what I have on this form on a tab control so that I can
add more information and a couple of subforms. I went into design
view of the form I have already created, and clicked on all the
fields and cut them and then added a tab control and then pasted the
field onto the first tab. However, any command button that were on
for now when I click on them, they don't work.

What is the best way to add the tab control on my form and add all the
fields and command button onto the tabbed control? I am using Access
2003.

Thanks in advance for any help.

Best regards,

Dee

Any time you cut and paste a control that has Event Procedures attached to
it you lose the property setting "[Event Procedure]". The code is still
there all you need to do is put those property entries back.

Unfortunately, cutting and pasting is the only way to get existing control
onto a TabPage. NEWQ controls can be drag n' dropped, but not existing
ones.
 
D

Douglas J. Steele

If the code's still there, all you should need to do is set the property to
[Event Procedure]

For a way to automate the fix, check my March, 2004 "Access Answers" column
in Pinnacle Publication's "Smart Access". You can download the column (and
sample database) for free at
http://www.accessmvp.com/DJSteele/SmartAccess.html

--
Doug Steele, Microsoft Access MVP

(no private e-mails, please)


Dee said:
Hi Rick,

How do I put the propery entries back? Do you mean I have to add the code
again?

Best regards,

Dee

Rick Brandt said:
Dee said:
I have a form already created with contact information on it. I now
want to put what I have on this form on a tab control so that I can
add more information and a couple of subforms. I went into design
view of the form I have already created, and clicked on all the
fields and cut them and then added a tab control and then pasted the
field onto the first tab. However, any command button that were on
for now when I click on them, they don't work.

What is the best way to add the tab control on my form and add all the
fields and command button onto the tabbed control? I am using Access
2003.

Thanks in advance for any help.

Best regards,

Dee

Any time you cut and paste a control that has Event Procedures attached
to
it you lose the property setting "[Event Procedure]". The code is still
there all you need to do is put those property entries back.

Unfortunately, cutting and pasting is the only way to get existing
control
onto a TabPage. NEWQ controls can be drag n' dropped, but not existing
ones.
 

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

Top