Duplicate info in tables Best Practice
Initially, I was thinking of creating a relationship between the two tables in order to pull the date from there. But this table will not always be filled out depending on the employee class.
So, I was thinking of just adding the field rather than creating a relationship as I don't always need the info in that table.
I am wondering before I go and add the extra work, would this be the most efficient way of doing this?
Thank you for taking the time to report an issue.
What's wrong... Please write below.
I have a query that pulls certain information from each field an of course the primary keys are linked and that’s how it know what info to pull from each table.
My problem is in the query it certain records will duplicate. Certain records will duplicate 6 times while others 4 and so on. Other records on the other hand to not duplicate at all.
Is there a way to enter of a person's info once into a form and then create a macro to copy/save to/save as/duplicate the info into two or three tables?
I can only find the copy command for a whole object, such as a complete form, in the macro options.)
I don't suppose there is anyway a bound control can have two sources?
The data I need to enter requires two or three different name titles in two or three different tables, but the other info of course is the same (e.g. place of birth, DOB, parents, age, etc.).
I would like to split the Excel sheet into two of those tables (Practice and Contact). I will link those tables by the AutoNum of the Practice table (PracticeID) into the field of the same name in Contact.
How do I go about bringing in the data so it works? Should I take the autonumbers from the first table and copy/paste onto the Contact table?
I can force an entry into each table - but that seems a bit crude (I.e add a record for every new entry in my main table into the 10 child tables - but this seems to be a waste - I only want to join tables when there is info in them - when I am doing this I can join two tables fine - but adding another one where there is no data FK seems to throw it. I will have about 10-12 tables to join.
Running into duplicate data in an Access Database can be quite annoying during the hectic workday, so I decided to write up a technique to help identify the duplicate records so you can manually handle them.
StudentA - Id (primary key- no duplicate)
StudentB - Id (primary key- no duplicate)
StudentC - Id (primary key- no duplicate)
StudentD - Id (primary key- no duplicate)
StudentE - Id (primary key- no duplicate)
StudentF - Id (primary key- no duplicate)
StudentG - Id (primary key- no duplicate)
and so on.
Subject & Fee table
Maths | - £2.00
English - £2.00
French - £3.00
Science - £3.00
1. Student can be from same family and they get discount only in English if they have siblings.
if two children from same family they pay £3.00 (not £4.00) if three children from same family they pay £4.00 (not £6.00)
2. One student can have many subjects.
Each family get only one receipt that include Student name, Id, subject they are taking, fees, totals.
How do I do the tables, query, relationship and the calculation.?
1. Customer Info
2. Computer Info
I have created a form that has all the fields from each table, however as it currently is I am afraid that the database will create duplicate client information, is there a way to easilylook up clients if they are already existing and bring in the per tenant data without re-entering it all with only a few clicks? it is all text data that needs to be brought in, address,phone, etc.
I have a client ID numbering system set up as the primary key. last thing is I will be using this program from the form, don't know if that makes a difference.
That is. I am pretty much making data entry forms and am basing them off of the tables. Should I be making queries of these tables and basing the forms off of these instead?
If so, should this practice include "look up tables" (tables that I'm using in multiple combo boxes for multiple fields on the form - they just have an ID (primary key) and a field for categories such as "0-25%", "26-50%", etc.)?
So what I want to do is relate these many TV TABLEs to the STAND TABLE that they would be using. I have like 10 different tables of TV sizes and 1 stand list. The TV TABLEs are related to the stand list by TV model. Sounds easy enough right?
But my problem is this- how do I make a query where I am able to just put in TV Model and it will search throught the tables and put out the necessary info - lets say I want TV Model, related Stand, and Product Number outputed.
For each instance of a duplicate, I need to keep the latest record (the one with the higher primary key field), but update various tables with the new primary key from the old one.
For example, the primary key is 'PurchID' and I would need to update four / five tables and then delete the redundant records.