Table Structure / Planning - Help Please
Sep 6, 2007
Hello
I wonder if anyone can help me?
I am currently creating my first Access database and in the planning stage but have come across one problem area. I need to create a database that holds and reports on information recorded on a clinical form. The section of the form I am stuck on contains a table as below.
123456
Catheter Type
Wire Type
Balloon Type
Type of Stent
Size of Stent
Target Vessel
Successful?Y / NY / NY / NY / NY / NY / N
The user works their way down this form starting in column one but free typing what make of Catheter they will use and then type of Wire and so on. The problem arises when a particular item doesn't work, e.g. a type of Balloon. They then try a different type of balloon and would enter this information in Column 2 and then if this works go back to column 1 to fill in the next field 'Type of Stent'. As below..
1 2 3456
Catheter TypeCathsRUS
Wire TypeWire 1000
Balloon TypeBAL001 BAL002
Type of StentST555
Size of Stent10
Target VesselLeft side
Successful?Y / N Y / N Y / NY / NY / NY / N
Not only does the user need to record all this information without duplicating anything else from column 1 into column 2 but there are also instances that within the same procedure number, that a second bleed occurs and they need to fill in the next available column, which in the example above wiuld be column 3. They would again work their way down, but this time they may not need to use a wire as they can reuse the last one.
1 2 3 4 56
Catheter TypeCathsRUS OpCa34
Wire TypeWire 1000
Balloon TypeBAL001 BAL002 BA3
Type of StentST555 ST333
Size of Stent10 5
Target VesselLeft side Right side
Successful?Y / NY / N Y / N Y / N Y / N Y / N
The access database needs to be able to hold all this information and show that 2 separate episodes in affect have occurred. The user wants to be able to report on various things such as, what type of Stent/Wire/Balloon/Stent size is the most/least used / successful/unsuccessful? Etc
If anyone can help shed some light on the best way to structure this information in Access I would be very grateful!
View Replies
ADVERTISEMENT
Mar 13, 2007
Hi All,
I'm Looking for a bit of advise. I'm about to try and build a new database that will have about 40 tables. One of these will be the main table. This table will have a primary key TAGNUM and several other fields containing data associated with each tagnum. Most of the other tables will then contain more detailed info about each tagnum.
So the obvious aim is to have all these secondary tables connected somehow to the main table so that when a new tagnum is added/deleted, the corresponding row in any effected secondary tables is added/deleted also.
My attempts so far have involved setting up a relationship beween tagnum in the primary table and tagnum in each secondary table. This appears to work ok but I'm trying to be sure that my setup is good. I have a one to one relationship in each case, I have selected referential integrity, and the cascade changes etc. My join type is "All records from main table and only those... secondary table". Is this correct?
The further complication is that I need to have Lookup?? tables (not sure if it's the correct word) tied to each of the secondary tables and 3 tied to the main table. The user needs to be able to select items from the fields bound to these lookup tables via a dropdown box on the field in a query. When the dropdown box is selected a descriptor for each option available need be seen The non bound fields in the lookup tables only needs to be available to a report bar the showing of the Description field during selection. Any ideas?
Sorry about the size of this and annoying you with what is i'm sure not difficult stuff! Pretty new to this.:)
View 14 Replies
View Related
Aug 11, 2005
Hi guys
Quick question. im running a planning database which has got 3 tables Objectors, Representations and Agents. Ive put these together using a one-to-many join matching up the index fields from Objectors and Representations. Ive just constructed a form which has a main form being the Representations and the sub forms with Objectors and Agents. When I want to update or add records a message saying " you cannot add or change a record because a related records is required in table Objectors.
Can any one tell me how I can get around this or possible solutions to this is? Any comments or feedback greatly appreciated!
Cheers
View 5 Replies
View Related
Dec 18, 2007
Hi all,
I’m adding a new function to our Costumer Relations Management system – Time management. Or maybe “time registration” is a better definition for it. The idea is that our consultants can add their hours into our CRM, either from the “Project”, “Tasks” or “Costumer” part of the CRM. Note: This is a tool to keep track of hours spent on a project, not a planning tool.
I’ve made the input-form for the records (Date, ClockStart, ClockStop, TimeSpent, InvoiceHours, etc.). But now I’m basically without a clue on where to start – I want to make a function almost like the calendar in Outlook, where the consultants can input what they’ve been working on, say between 13:00 and 14:00.
It doesn’t have to be fancy graphically, but functional and give a good overview.
Any ideas?
View 6 Replies
View Related
Oct 14, 2005
HI THERE. IM HAVING A FEW PROBLEMS TRYING SORT THIS PROBLEM OUT. I HAVE A DATABASE IM TRYING TO APPLY A FILTER ON THROUGH AN UNBOUND COMBO BOX. WHEN SELECTING THE DROP DOWN FILTER TO SORT THE RECORDS NOTHING HAPPENS. THE CODE IM USING IS
Private Sub Combo??_AfterUpdate ()
'Find the record that matches the the control
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[WARD_AREA] = '" & Me! [Combo??] & " ' "
If Not rs.EOF Then.Bookmark = rs.Bookmark
End Sub
Does anyone know why this filter is not sorting through the records. Any comments much appreciated!!
Attached is the database
View 1 Replies
View Related
Apr 20, 2015
I'm trying to copy the structure of a table to make a temp table. I'm using CopyObject (which also copies the data). So when I delete the data from the temp table, it also deletes data from the source table. Is the data linked? It should just be deleted from the temp table. Below is the beginning of the code. I've stepped through, and at the last step shown, the data in the source table deletes.
Code:
Dim strFile As String
Dim temp As String
Dim tbl As String
Dim db As DAO.Database
' error handle
On Error GoTo F_Error
[Code] .....
View 3 Replies
View Related
Oct 28, 2004
Here’s a little scenario:
An engineer requests that “x” amount of computers are ordered for the company. The estimated costs of the system(s) are determined. The estimated cost of the systems is forwarded to a manager, and the request must be approved by a manager before the order is placed. Once the manager approves the request, the order is placed through the ordering company. After the ordering company approves the order, an order number is assigned and serial number(s) specific to each computer is associated with that order number. At this point it is possible to track the order status via existing programs using the assigned order number and serial numbers. After it is determined through the existing software that the order has been shipped, invoiced, and received by the Receiving department, I need to physically go pick up the systems and submit them into my Central Inventory. From the central inventory, systems will be checked out to employees as needed, checked back in when testing is finished, or transferred internally between employees......
View 1 Replies
View Related
Nov 15, 2004
Hi everybody,
Please, I really need some help with my normalised tables and relations:
1.AdmissionID
AdminYr
.......
2.StudID
SName
AdminID
.........
3. ParentContactID
Fname
StudID
4. CycleNO
cycname
.....
5. DisciplineID
Discname
CycleNo
StudID
.......
6.SubjectID
subName
DiscID
....
7. ExamID
examdate
StudID
8. Results
StudID
ExamID
mark
......
I have a feeling this relationship, is still a bit messy?
I also need to keep track of students daily class attendance, at the end of the tern, or year to find out how many students dropt out of a particular class etc. Is this a new table?
thanks in advance.
haag
View 3 Replies
View Related
Dec 15, 2004
I have been reading up on normalizing table structures. I have this database that I am working on, to work as a hiring database. It should hold information about people applying to the law firm I work at.
I am looking for advice on if this table structure is normalized and sound. I am also looking for specific help on creating good forms.
Thanks for any help that can be given!
ps. I am attaching a zip that has a jpg view of the tables and their relationships, as well as the db with the table structure.
I would love any and all advice. I want a very clear concept for this db before I do anything!
Thanks again!
:D
View 2 Replies
View Related
Apr 27, 2005
I was having a discussion with a friend of mine about this... and I couldn't come up with the best explination. Hopefuly someone here can point me in the right direction.
He has a table
Recipies(Id, name, item1, quantity1, item2, quantity2, item3, quantity3, item4, quantity4)
I don't believe that this is the proper way to create a table. What happens if you happen to come across a Recipie that needs 6 items?? or more??
After researching it, I believe it violates 2NF. Is this correct?
Instead I think a better structure would be
Recipies(Id, name)
RecipiesIngredients(Recipies.ID, Ingredients.ID, quantity)
Ingredients (Id, Name)
The problem my friends sees with this method is the fact that the Xref table will get giant.
In the example... Speed is of utmost importance, as the tables will most likely contain thousands of records and be queried against frequently.
Thanks for any input.
-Mike
View 8 Replies
View Related
Aug 27, 2005
hello this is my 1st posting....... :o
please help me .........
I have 3 tables.....
Table : Customers
CustomerID
CustomerType (i.e. 1st Allottee, 2nd Allottee etc.)
Name
Address
C/o
...
Table: Apartments
File# (every apartment has unique file#)
Category
App#
Level
Area
Price
Discounted (yes/no)
DiscountRate %
...
Table: Receipts
Rec#
RecType (Down Payment, 1st Installment, 2nd Installment...)
Ref
Date
Chq#
Amount
...
one customer can have more than 1 apartments, and one apartment can be transfered to another customer (file# same but customerID changed)
one customer is paying different types of payments against his apartment.
please help me to manage tables and relationships.
View 3 Replies
View Related
Jan 29, 2006
I need some help trying to setup tables on a new database. I want to setup a house analysis database where I can evaluate each room for it’s condition broken down by feature. I can’t seem to figure out a good way to tie all the rooms and evaluations back to that house’s address (primary key). I want the fields to work as shown below with the room evaluations tracked to each room and house address. If possible I would like to be able to enter the as many room names as needed for each address.
House Address
Bedroom 1______________Bedroom 2_______________Bathroom 1
Ceiling condition –Good____Ceiling condition-Fair____Ceiling condition- Good
Floor condition – Fair______Floor condition – Fair____Floor condition - Fair
Wall condition – Good_____ Wall condition – Bad____Wall condition - Good
Can someone please explain to me how I should structure the tables to work. As a novice Access programmer I am out of ideas. Please help me!!
View 6 Replies
View Related
Jan 30, 2006
What's the best way to setup this db?
I have the following information:
Company
Company ID
Program A
Program B
Program C
Program D
2000
2001
2002
2003
2004
2005
The years indicate the year the Program participated in the company. For example, Program A participated in Company Z from 2000 to 2005, Program D participanted in Company Z from 2001 to 2002.
Should I have a table with the Companies and Program A and the years from 2000 to 2005
and a table for the Companies and Program B and the years, etc? I was going to add a yes/no field for each program, too. There must be a simplier way.
I want to be able to query participation of workers in any of the programs.
What is the best way to set this up?
Thanks.
View 2 Replies
View Related
Apr 14, 2006
I've got some tables, and I want to make sure I relate them in the best possible way.
Table1 has a one to many relationship with Table2
Table1 has a one to many relationship with Table3
Table2 has a many to many relationship with Table3
Would it be best to set them up this way or is there another way that would be better?
Fields for Table1
Table1_ID
.
.
Fields for Table2
Table2_ID
Table1_ID
.
.
Fields for Table3
Table3_ID
Table1_ID
.
.
View 3 Replies
View Related
May 14, 2007
Hi,
Thanks for taking time out reading my thread!
I want to start entering data, but i'm not to sure weather my relationship structure is good enough to start inputing.
Heres a pic of my relationships
http://img201.imageshack.us/my.php?image=almostdoneae0.jpg
Thanks.
View 1 Replies
View Related
Sep 4, 2007
i have been asked to design an access databse for a friend who is a bricklayer. He wants to use it to store all the work he does so he can produce his timesheet quicker.
He works on building sites and has to show a plot number next to all the work he does. He wants to be able to search for a plot number and see what jobs he has already booked in for a particular plot number.
For example, if he is working on a block of flats, each flat will have individual plot numbers. If he is working on the outer wall of the flat his timesheet has to show all plot numbers for that block so he will normally show this as plots 100-110. however, if he works on an internal wall in one of the flats he will have to show just one plot number on his time sheet, for instance plot 104.
my problem is that he wants to be able to search for plot 104 and have it list both jobs he has done even though one job is shown as plots 100-110. How can i structure the database tables to allow this to happen.
Any advice would be much appreciated.
View 1 Replies
View Related
Oct 10, 2007
hi everyone,i'm new to access and despite reading quite abit im just not grasping how to set up tables and relationships for what im wanting to do.I need a customer contacts table/form to keep track of my customers info (name, address, etc) & who's placing orders, easy enough.Now with some of my customers its always the same person who places the order but with others it can be anyone of up to about 15 different people who place the order each one can have their own direct phone no.So what im wanting to do is create a customer contact table/form and then linked to that who in that company placed the order with their phone no. Ideally i'd like it so once I have entered the info I can just use drop down menu's to select the company name then it opens up a list of all the people who I deal with in that company so I can just select the person/phone no who is placing the order.Can anyone help & advise me through best way of doing thisthanks alot
View 5 Replies
View Related
Nov 14, 2007
Hello, I want to fix a database I built and I needed some help on the table structure since its saving the data and not the ID number. I have it done and it works but its not correct since I dont understand normalization very well I took the easy way out and now its killing me and I want to fix it. Please take a look and give me some advise or show me a structure on what I need to do to normalize the DB... This would be my first DB so bare with me....
The comments section of each category will have a list of positive phrases and negative phrase equal to the subject like Safety, Quality, Quanity ect. "I didnt pur the phrases in each table yet"
Thanks!
View 2 Replies
View Related
Dec 9, 2007
Hi peeps,
I'm creating a simple db to stor project details. Each project has a unique name, and is part of a programme. Each programme name (ie SIG023) can have multiple projects. these projects recieve numerous support plans, guides and tto plans. I also want to store comments on each project.
Does my relationships and table structures look ok? am i starting in the right lines?
Has anyone come accross a similar db?
Appreciate any advice.
Mike
View 3 Replies
View Related
Jan 18, 2008
Good morning,since this is my first post I hope I'm not making to many mistakes.I'm making a database for school in Access 2003. In this database I have 2 parts.. A part for Patch connections and a part for PC repairs. The PC repair part is doing okay. The patch part is where I'm having some trouble.I don't exactly know how to start with it, and I'm hoping someone here can help me out.The form, I want to make based on tables should look something like this:A ComboBox filled from a table with about 10 entries in it. (Patchkasten)A textfield in which I have to enter something like this: XX-00 (x stands for alphabetic - 0 stands for nummeric)(Patchnummer) This will have around ~3000 entries.Those 2 should somehow be connected in a table as 1 field. (if that is possible offcourse)If not, is there another way to do something like this, because the combination of (patchkasten)and(patchnummer) has to be unique.. And at last a combobox (ruimte) with around ~ 150-200 entries.Now my question is if someone could help me setting this up somehow. Help would be appriciated.Thanks,F3dde
View 1 Replies
View Related
Dec 10, 2004
Hello
I have a big MS access database with many tables. Now I want to print out all this tables including there fieldname and the field description.
Does someone know how to do this in VB?
thanks
greetings
Koen
View 1 Replies
View Related
Jul 20, 2006
i am currently working with a human resource outsourcing company. we deploy contractual employees to different companies.
we usually use ms excel in keeping records of our employees, now my boss wants me to create a database using ms access. this is my first time in creating database using ms access.
here are the headers that we used with our excel database:
- ID number
- Account number
- First name
- Last name
- Middle initial
- Start date with the agency
- Start date with the company
- Status (active, end contract, resigned, terminated)
- Previous contract start
- Previous contract end
- Present contract start
- Present contract end
- Company
- Outlet location
- Position
- Pay class (daily or monthly)
- Basic Rate
- Allowance
- Total Pay
- Home address
- Home tel. no.
- Mobile no.
- Civil status
- Date of birth
- SSN
what i did was divide the headers into several tables for ms access as follows:
1st table (Personal Info)
- ID number
- First name
- Last name
- Middle initial
- Home address
- Home tel. no.
- Mobile no.
- Civil status
- Date of birth
- SSN
2nd table (Company info)
- Company ID
- Company Name
- Company address
- Contact number
- Contact person
3rd table (Position info)
- Position ID
- Start date with the agency
- Start date with the company
- Status (active, end contract, resigned, terminated)
- Previous contract start
- Previous contract end
- Present contract start
- Present contract end
- Pay class (daily or monthly)
- Basic Rate
- Allowance
- Total Pay
4th table (Outlet Info)
- Outlet ID
5th table (Status info)
- Status ID
6th table (Pay class info)
- Pay class ID
7th table (Pay class info)
- Civil status ID
are these correct? please feel free to comment or suggest. i do apologize for the inconvenience. i am just a newbie and i need to finish this project. i appreciate your response. thank you in advance.
View 2 Replies
View Related
Mar 15, 2007
Is there any way to print an Access table structure?
Robert
View 2 Replies
View Related
Nov 8, 2004
Hello, I need to make a report of the structure of the tables. In Access only I can make report of the table information (contents) but I need a simple table in Word width de table structure (name of field, type, descriptión). Do you know a program o tecnique tu make this automated?
Damián.
View 3 Replies
View Related
May 30, 2005
Hi,
I have a contact list about 20 people strong. These contacts are related to a certain CostCenter. Each costcenter will have multiple contacts. I want a combo box on a form where I can select a contact from the combo box' list and send them an e-mail. I also want a list box on the form that shows each costcenter and the contacts related to it. I also need to be able to add or remove contacts and have the new info shown in both the list box and the combo box. I'm stuck with setting up my table structure. Anyone wanna give this a go?
Thanks,
Israel
View 11 Replies
View Related
Aug 4, 2005
I need help with table structure, They keep way too much info. Now that I have said that here is what I need help with. I have been asked to make a small "Ha ha" Database this is what small became. Most of the data for this is in a spreadsheet now I know I can import it where I want it. The main concerbn is that the main piece of information would be the Job Address. Because of all this other information I was not really sure how to setup the tables here is what I have started .
Buyers Information (tbl)
Fname
Lname
Address City State Zip (with a look to qry)"cool zipcode code"
Phones (3)
Email
Ect.
Buyers Realtor Info (tbl)
Fname
Lname
Company Name
Address City State Zip (with a look to qry)"cool zipcode code"
Phones (3)
Email
Ect.
Sellers Information (tbl)
Fname
Lname
Address City State Zip (with a look to qry)"cool zipcode code"
Phones (3)
Email
Ect.
Buyers Realtor Info (tbl)
Fname
Lname
Company Name
Address City State Zip (with a look to qry)"cool zipcode code"
Phones (3)
Email
Ect.
Job Information (tbl)
Address
City (Filled in by Zip)
State (Filled in by Zip)
County (Filled in by Zip)
Zip (with a look to qry)"cool zipcode code"
RoofType (With a lookup to A list tbl)
RoofCondition (With a lookup to A list tbl)
Job Notes (memo)
Appointment Information
Time (now real sure how these time and date will work)
Date ( " )
Appointment Type (With a lookup to A list tbl)
Contact Name
Salesman (With a lookup to Salesmen Table)
Appointment Results (memo)
Referral
As I mentioned this data is in a spreadsheet and most every row has all of the above information ("ha ha, small") but I wanted to get some other Ideas and see if anybody had a better one before I tryed to make it all work.
Thanks
View 6 Replies
View Related