Access 2000 tab control

G

Guest

I have a form that is getting too full and wish to change to a tabbed type
form. If I copy the controls from the form to the tab control the underlying
code does not copy. Is there a way to do this?
 
R

Rick Brandt

PeterW said:
I have a form that is getting too full and wish to change to a tabbed
type form. If I copy the controls from the form to the tab control
the underlying code does not copy. Is there a way to do this?

The "code" is still there. What you lose is the entry in the event property box
[Event Procedure] which makes the code run. You need to manually put that back
for all controls that require it.

I have never tried this, but I have seen postings that suggest that if you go to
the code window and cut ALL the code to the clipboard and then re-paste it that
the Access will insert all of the [Event Procedure] entries for you. Worth
trying.
 
D

Douglas J. Steele

Rick Brandt said:
PeterW said:
I have a form that is getting too full and wish to change to a tabbed
type form. If I copy the controls from the form to the tab control
the underlying code does not copy. Is there a way to do this?

The "code" is still there. What you lose is the entry in the event
property box [Event Procedure] which makes the code run. You need to
manually put that back for all controls that require it.

Or you can use the code in my March, 2004 "Access Answers" column in
Pinnacle Publication's "Smart Access".

You can download the code (and sample database) for free at
http://www.accessmvp.com/DJSteele/SmartAccess.html
 

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