Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 17th, 2007, 09:36 AM
Authorized User
Join Date: Nov 2005
Location: Lusaka, Lusaka, Zambia.
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default Updating a database with new records

I have a main database with tables linked using one-to-many relationship. forms have been created for data entry. The database is based at the main office. However, the data has to be collected from places away from the office. I want to have the the same database to be put on Laptop computers for data capture on site. But I want at the end to download all the new data or records from the laptop computer database. I want only to update the main database with only new records from the laptops. What should I do?

Reply With Quote
  #2 (permalink)  
Old January 17th, 2007, 11:53 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts

The first thing you need to do is to use a superkey instead of an autonumber primary key.

A superkey is a combination of various data elements that will be the same no mater where the data is first entered. For example, if the database is being used to enter customer orders in the field, the superkey might be a combination of the salesperson's name, the customer name or number, the date of the order, AND an autonumber field (in case the sales person has many orders from the same customer.)

Then to uplaod this new data, create a find unmatched query that uses the superkey field, and then do an append query for all records that don't have matches.

You can make this process fully automated, or have the salesperson, in this case, start the process and approve each transaction.

Need more help?

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating a database with new records modified cont bright_mulenga Access 0 January 18th, 2007 10:59 AM
Updating a database with new records modified bright_mulenga Access 1 January 18th, 2007 08:39 AM
problem in updating records & finding records naveed77 VB Databases Basics 1 January 16th, 2007 12:12 PM
problem in updating records & finding records naveed77 VB How-To 1 January 16th, 2007 12:10 PM
Updating database records in ASP/ADO aismail3 Classic ASP Databases 5 September 16th, 2004 11:10 PM

All times are GMT -4. The time now is 05:21 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.