473,414 Members | 1,686 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,414 software developers and data experts.

Help with creating relations

153 100+
Hi...I'm new but decided to take on learning access programming for my job and I'm having trouble building relations. Any help would be very appreciated!

So here's the jist of the program...I have a bunch of fields that I have the program read through and check to see if one number is missing and then reads through the serial numbers which have asset numbers within them but has to remove the characters of A-Z so it can be compared to the serial numbers. I got those working all fine and dandy...took a lot of work because I don't program...but originally when I had inputed the data...all the rows had the corresponding data but when it outputed into an excel sheet it moved the rows with problems to the top (the ones missing values) by setting a row at the end equal to negative 1by creating a separate check field...and so I thought my relationships were wonderfully working but to my unfortunate suprise...when I entered the data in a different way...it didn't work. The program has a first and last name that corresponds to each serial number. From there, there are three other numbers which are entered seperately but should all have corresponding values equaling one another.

So here's what I need to know...how can I first organize those three rows by saying where A1=A? then match them together. And then from there create a relationship between those three numbers and a seperate relationship between the serial number with the first and last name? Do I really have to sort through everything for the three numbers or is there a way that I can get the relationships to understand that ACG10000399 = ACG100000399 in a different row?...I also have the option of creating another table where based on something I've already done I can cut out the ACG so they are just numbers...but am I looking for the right thing? Am I supposed to use relationshis to do this or is this something much more complicated? I hope I'm not in way over my head.

Again any help would be much much much appreciated.

Cheers
Kosmös
Oct 27 '06 #1
1 1540
MMcCarthy
14,534 Expert Mod 8TB
Using just one table means there are no relationships

Relationships are a way of connecting tables with relating data.

It sounds like that is what you are trying to do. Use some make table queries to create a series of tables from your data that relate to each other.

Try to break the table up into logical groups. Be sure to add one unique field to all new tables and to create a relationship between the tables by putting a foreign reference to the unique key from table 1 in table 2

I can't help further unless know exactly what the fields are in your table and how they relate to each other.
Oct 28 '06 #2

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

Similar topics

2
by: Keith | last post by:
I am having a problem creating a many-to-many-to-many type relationship. It works fine, but when I create a view to query it and test it, it does not generate the results I expected. Below...
1
by: Lothar Lemnitzer | last post by:
Dear fellows, I have a problem with matching namespaces in an XML document and an XSLT stylesheet (at least I think that this is the source of trouble). My XML document looks like this: 1...
2
by: Jordan O'Hare | last post by:
Hello Everyone, I am after some help with the following: I have a windows application that contains a list box and two data grids. All three controls are binded to a dataset that contains...
6
by: Jade | last post by:
Hi, I am trying to create a dataset with 6 tables and 5 relationships created between them. I am creating it in the Form_Load event. However i keep getting the following error... An unhandled...
1
by: fastfish | last post by:
I have converted a db from access 97 to 2000 - some how the relationships didn't get moved over. Big problem. Is thier any way, other than recreating it by hand, to duplicate the relationships...
15
by: Alex McMillan | last post by:
Hey - I know a bit about vb, written a few progs, upgraded to .net 2003 but can't figure it out. Where has everything gone? Am I missing something really obvious? I'm trying to create a...
2
by: mcmahonb | last post by:
Hello people, I'm fairly new to access and DB programming in general. I am familiar with the "basics" of MS Access, forms, tables, queries, macros, and such, but still don't have everything down...
38
by: ifti_crazy | last post by:
I am VB6 programmer and wants to start new programming language but i am unable to deciced. i have read about Python, Ruby and Visual C++. but i want to go through with GUI based programming...
47
by: Jo | last post by:
Hi there, I'm Jo and it's the first time I've posted here. I'm in process of creating a database at work and have come a little unstuck.....I'm a bit of a novice and wondered if anyone could...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
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,...
0
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...

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.