473,805 Members | 2,278 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Bulk Copy of forms/queries From one Access DB to Another

44 New Member
The company I work for uses a very large program in Access/VBA. Whenever I edit it, I copy the latest edition to my harddrive and make the necessary changes, then copy the modified forms/queries/reports back to a central copy where we all merge our changes. The problem I am having is that this program is very, very large (WAY beyond the scope of what VBA was ever intended for I'm sure). I repeatedly find myself coping a hundred or more files into the central copy, and I have to do it one by one, because Access does not let me select more than one object at a time to copy. I would expect holding CTRL and clicking all of the necessary forms would work, but Access does not seem to have that feature. So my question is how can I more quickly copy many files from one access db to another? Is there any way to select more than one thing? Is there some hidden feature buried away somewhere that I can use? I am willing to try ANYTHING!
Mar 16 '09 #1
4 5200
OldBirdman
675 Contributor
Access File->Get External Data will copy tables, forms, queries, from other databases. It does have the feature you desire.
Mar 16 '09 #2
labmonkey111
44 New Member
Almost what I want, but it won't overwrite the existing forms, just tacks a "1" at the end of the name. The options button didn't reveal any overwrite options. Any other suggestions? I'm using Access 2000.

Edit: Make that Access 2002, the DB is in 2000 format.
Mar 17 '09 #3
OldBirdman
675 Contributor
It looks like you could loop through all objects (forms, tables, etc) and use
Expand|Select|Wrap|Line Numbers
  1. DoCmd.TransferDatabase [transfertype], databasetype, databasename[, objecttype], source, destination[, structureonly][, saveloginid]
I see that this was tried in http://bytes.com/groups/ms-access/18...rnal-databases, which may do what you need. This article references Method 3 in http://support.microsoft.com/?id=210111
If this doesn't help, I don't know any more. Good luck!
Mar 17 '09 #4
NeoPa
32,579 Recognized Expert Moderator MVP
It sounds very worth your while to develop a short routine to loop through for all the objects you know you need to transfer and delete the old one before importing the new.

Does that make sense? All the tools are already provided I think. Let us know if you need more assistance.
Mar 17 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
5981
by: Dianna | last post by:
I have a datafeed coming from another Database which I am populating into a Dataset. I want to take the dataset and insert all the rows into a Sql Table. So far I have an 'insert stored proc' and I pass all the parameters from .Net and execute (1 row at a time). However, this is tedious. This data feed contains about 100 columns (so I have to pass 100 parameters to the Stored Proc). It is a straight insert (the columns in the datatable...
16
17026
by: Philip Boonzaaier | last post by:
I want to be able to generate SQL statements that will go through a list of data, effectively row by row, enquire on the database if this exists in the selected table- If it exists, then the colums must be UPDATED, if not, they must be INSERTED. Logically then, I would like to SELECT * FROM <TABLE> WHERE ....<Values entered here>, and then IF FOUND UPDATE <TABLE> SET .... <Values entered here> ELSE INSERT INTO <TABLE> VALUES <Values...
2
2236
by: Jonathan LaRosa | last post by:
Hi all - I'm wondering if anyone has (or knows of) a tool that will allow me to search through VB code, tables, queries, reports, forms, and other objects, for references to all other types of objects. That's not really that clear, so here's an example: If I have a table named "table_i_would_like_to_delete_but_don't_know_if_any_object_is_using_it",
9
10039
by: David Rysdam | last post by:
I have a large amount of data that I copy in and out of Sybase very often. Now I also want to copy this data in and out of postgres. I have an existing script that creates the entire database(s) from scratch in Sybase and then uses the Sybase bulk copy tool "bcp" to copy the data in. I already did a brute force port of this script to postgres once, but I'm trying to do it more elegantly now that I know what issues I'm going to run...
22
6294
by: Jordan S. | last post by:
SQL Server will be used as the back-end database to a non trivial client application. In question is the choice of client application: I need to be able to speak intelligently about when one client (MS Access vs ..NET Windows Forms) would be preferred over the other. While I have some good arguments on both sides, I would appreciate your points of view on the topic.
4
3643
by: raj_genius | last post by:
I hav two queries, whc are as follows: FIRSTLY: is it possible to access the controls(by name) of a parent form(MDI) from its child forms??if yes then how??plzz provide a coded example in VB if possible.. for example..i hav a menu in the parent form named "Administrator" whic has an item "mnuLogIn"..now when i click on login..another child form named "frmLogIn" is displayed..what i want to happen is this: when login form(frmLogIn) is...
3
2197
by: Jim | last post by:
Hi All. I'm working with a group of remote users and need to send them updated tables, queries, forms and reports on a weekly basis. What I do is create a separate little database with all the new items in it, and then do an autoexec macro that does the CopyObject action on each one of them, but to do this, I have to edit the macro a lot and if I have 30 objects in the database that need copying, I have to have the CopyObject action in...
2
3197
by: deekay | last post by:
Im trying to update a database where our users have been entering/editing all data using queries to now use forms instead. The first step that I want to take is to convert the queries to forms in datasheet view so that they look exactly the same. I just want to know whether it is better to bind the forms record source to the queries or to a sql statement that would include the relevant tables and fields. Please advise thanks
3
3464
by: Tim Satterwhite | last post by:
Hi All, I think this is a thorny problem, and I'm hoping you can help. I've not found this exact issue described anywhere yet. I have a stored procedure that calls BULK INSERT on a set of text files. These files are FTP'd from a legacy system (a mainframe running MVS). Sometimes, the process steps on iteslf, whereby the bulk insert is attempted on a file whose FTP is still in progress; it's not fully written to disk on the SQL box...
0
9596
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10369
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10109
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9186
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7649
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6876
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5544
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4327
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.