Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"Cut" an Entire Form

Status
Not open for further replies.

bradzy88

Programmer
Feb 14, 2004
7
US
How do i make the entire form delete and add to my clipboard as in cut without having to click on the side bar? Is there a code for the operation.

Thanks!!
 
Edit, Select All from the menu bar, or even easier, Control-A to select ALL controls on the form.



Steve Lewy
Solutions Developer
steve@lewycomputing.com.au
(dont cut corners or you'll go round in circles)
 
Is thier a code i can use for that so it can be done with the click of a command button?
 
what exactly is it that you are trying to achieve?

Steve Lewy
Solutions Developer
steve@lewycomputing.com.au
(dont cut corners or you'll go round in circles)
 
Im trying to send an entire form to anthor form wxsactly alike.
 
(a) Why are you trying to do this programatically?

(b) Check out the CopyObject method; this might be what you need. However, note that in Access 2000 (and possibly other versions), there is a bug in Access which corrupts parts of your database if you copy whole Form or Report objects which happen to have embedded code (you'll get a meaningless 'network error', when this happens). There are some good related threads on this subject.

Steve Lewy
Solutions Developer
steve@lewycomputing.com.au
(dont cut corners or you'll go round in circles)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top