473,396 Members | 1,775 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Field to Field data duplication

I am creating a new database, that will contain 2 fields that will have the
same data. The DB is an inventory of computers. the fields I want to
duplicate are the "serial number" and the "computer name" fields. I was
wandering if there is a function that will fill in the "computer name" field
with the data that is entered into the "serial number" field. Thanks
Nov 13 '05 #1
3 1801
You could do it with an update query, or with visual basic code, or
with a macro in the data entry form, but in each case, it would be a
dumb thing to do.

It violates one of the basic precepts of database normalization, in
that data should be stored once and only once.

Nov 13 '05 #2
yes i now it does not follow DB normalization. but that is not my goal.
however it is needed for inventory purposes. thanks for the info.
Nov 13 '05 #3
"Bryan Warren" wrote
yes i now it does not follow DB
normalization. but that is not my
goal. however it is needed for
inventory purposes. thanks for
the info.


Normalization is not a "goal". It is just following good design practices,
and will, sooner or later, save you time, effort, and frustration.

I am intrigued by your response: If the data is there in one Field, why
would it be necessary to have duplicate data in another Field "for inventory
purposes"? Why not just use the "ID" Field wherever you'd otherwise use the
"Computer Name" Field?

Help me understand, because it does not make sense to me that there can be a
_need_ for two Fields in the same Record to contain identical information.
If there are circumstances when it is meaningful for them to contain
different information, that would be another thing altogether.

Larry Linson
Microsoft Access MVP

Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Chris Sharman | last post by:
I'd like to design my pages to work cooperatively with browser autofill features. I've loked around, but can't find any good documentation on supported/unsupported field names...
4
by: philaphan80 | last post by:
Hello, I'm trying to dynamically load a list of teams into a SELECT field (dropdown / combo box) when a user clicks on the field. (The teams are pre-loaded into JS arrays via ASP/SQL -- not...
2
by: Tony Johnson | last post by:
Hello, I have a form that has a lot of fields. It is based on a one table. I have company information and then a description. I have to continually type in the description and it is a...
2
by: cazz | last post by:
Hi I have a database with about 6 tables - each table is connected via the primary field in table no 1 - request no, one to many relationship. All tables also have one other field in common -...
3
by: Thomas Matthews | last post by:
Hi, I've found with my compiler, that when a function contains const data in a function, that data is first copied to the stack. Given: /* Example 1 */ char Buffer; void My_Func(void)
3
by: Stinky Pete | last post by:
Hi, I work in a manufacturing environment that needs to record non conformances (NCF) against goods or processes. At the moment, QA can open a form to automatically generate a new NCF number...
14
by: Takeadoe | last post by:
Folks, I at the proverbial fork in the road and before I make a decision, I was hoping maybe I could get some advice. I'm in the process of moving data to Access. I'd like to use Excel for...
3
by: Chandeep | last post by:
Hello to all friendly helpful access experts, I have used Access many times in the past but this problem has always stumped me. I am currently developing a database and am almost certain that it...
5
MattFitzgerald
by: MattFitzgerald | last post by:
Can you help I want to reduce the number of queries I use? I have a union query which combines data from 2 different databases located at different sites. Both databases are identical each of...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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,...

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.