Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How can I make a copy of a form with Access 2010

Posted on 2011-03-24
5
Medium Priority
?
1,287 Views
Last Modified: 2013-11-28
In Access 2003 I could go to forms in database window and copy a form and paste with another name to make a backup, before I started changing the first form.
In Access 2010 I  dont seem to be able to do that.
Is there a way?
0
Comment
Question by:Fritz Paul
5 Comments
 

Accepted Solution

by:
Fritz Paul earned 0 total points
ID: 35212681
OK I found it. I think.
I copy the form and then click on "File" and select "Save object as".
Seems like a step backwards to me.
0
 
LVL 21
ID: 35212757
You can also open a form/report in design view then do a save as
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 35216289
Or you can do this in VBA:

Docmd.CopyObject

From the VBA help Files:
Syntax:
expression.CopyObject(DestinationDatabase, NewName, SourceObjectType, SourceObjectName)

See the VBA Help files for more info and a sample code snippet.

;-)

JeffCoachman
0
 
LVL 31

Expert Comment

by:Helen Feddema
ID: 35243480
Or you can install my Extras Plus add-in, which works with Access 2010 (as well as earlier versions), and allows you to make copies of database objects with incrementing numbers (among other features).  It can be downloaded from this link:

http://www.helenfeddema.com/Files/code20.zip

Here is a screen shot of the Access 2010 QAT with the Add-ins menu:
Copying-an-Object.bmp
0
 

Author Closing Comment

by:Fritz Paul
ID: 35275214
This works almost as good as Access 2003, where you can left click copy right click paste.
But this is easy enough.
Thanks for the other accurate tips.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
Suggested Courses

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question