Solved

Stop duplicate records in Access 2010

Posted on 2011-03-15
4
390 Views
Last Modified: 2012-05-11
I created a form in Access with linked tables to data on a SQL server.  When the user enters data into the form (Access) the data is duplicated on the form.  So one line of unique data now turns into two.  I created the form using Form Wizard and chose all the coloums from my Table.  Any suggestions would be great on how to not have the form duplicate the records.  
0
Comment
Question by:SargentControls
  • 2
4 Comments
 
LVL 5

Expert Comment

by:mayankagarwal
ID: 35140003
you can define a primary key on the table. or before inserting the row in the table you can check for the existing data if at all it exists then throw an error to the user
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 250 total points
ID: 35140239
"I created a form in Access with linked tables to data on a SQL server."
Then, can you explain the structure of these tables and the links involved...?
Post the ERD (Entity relationship diagram)

There is nothing the form wizard can do that will create duplicate records automatically (unless the code was perhaps modified after the fact).

I would suspect the table relationships first.
0
 
LVL 1

Author Closing Comment

by:SargentControls
ID: 35888586
None
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 35889897
None what?
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now