Hey :) hopefully someone can help me with this...I decided to take on the task of programming an access database for my legal co-op/internship...I'm studying law and music production on the side...most of the background I have in programming has to do with music production...
The program I'm creating pulls data from an excel sheet (with defined fields) and brings them into an access database. The data being pulled is the following:
FirstName|LastName|AssetTag|SerialNumber1|SerialNu mber2|SerialNumber3
From here the Asset Tags must correspond to a serial number (there are three different serial numbers because we get them from different locations...but they should all be the same)
The Serial Numbers contain the Asset Tags in between letters such as WAL0100020003LT. To remove the letters I wrote a module which I used in an SQL based query to remove the letters and place the revised Serial Number in a new table in a new column.
The First Name and Last Name are always entered with the Serial Number so they correspond in their rows.
I did not originally understand how Access works so when I was inputing the data where everything in the same row corresponded (including serial numbers), I thought I had a working program.
The program checks for null cells and when any row has a null cell there is a check value at the end of the row by which is used to arrange the results in ascending order so problems show up on top.
When I actually put the program to the test, when the rows with serial numbers did not match to the rows with asset tags (and first and last names), my world fell apart...the rows stayed together...it did not arrange based on relationships.
I am beginning to think that perhaps relationships are not the way to do this, but if relationships do not work in such a way I fear I will be in way over my head. Do relationships only work across tables?
If there's anyone who could offer me some insight, it would be greatly appreciated...I want to get this project completed before it is considered time lost or a wasted effort. In return if you ever need some electronic atmospheric music for a program you're writing, I'm your man.
Cheers,
Kosmös