Request For Help On Database Design

Oct 6, 2006

To all you access Gurus

I have been asked to look at setting up and access database to do the following

To keep a record of pupils and 9 tasks the pupils have to do and also the total amount of time it took a pupil to do this task
They have a total of 25 Hours to do all tasks but this is spread out over the year.

What I need is someone to tell me the best table layout to do this

The pupil record has to have the following
First Name
Surname
Form
Total Hours taken for all 9 Objectives
A description of what the pupil did to achive each Objectives
record if that task is complete
Also Date Task was Complete

I have done a test database with just one table in it and inside that table
had all of the above but apart from name, form and total hours I repeated the rest nine times.
This just does not seem right

What I want is to pull up the pupil name and then select Task say from a Drop down box this would then insert a new field if it did not allready exist in pupil recored and then you can fill in the task details of course if the field/s all ready existed then to open that up to allow you to update this

It would then need to update the total Hours field in the pupil record with the hours it took to do that task/objective.


I have basic Access knowledge but i cannot think of best way to achive this can anyone help please


Stuart Purvis
ICT TECHNICIAN
HILBRE HIGH SCHOOL

View Replies


ADVERTISEMENT

Reports :: Hidden Query Request In Report Design

Nov 20, 2013

I am trying to discover the code that is asking for a phantom query in Subreports. Each Subreports control source query works fine.

I have attached two zipped files

1. Database stripped to send
2. SnapShots of the problem.

View 7 Replies View Related

Staff Holiday Request Database

Jul 27, 2006

hi,

i need to design and build a access database for school where staff for a business could request holidays with there holidays then appearing on sum sort of calendar which can be viewed.

does nebody know where i can find an example to help me with my desing?

thanx

glen

View 1 Replies View Related

Request: Database Sample With Working ListView

Jun 27, 2005

Hello all,

I finally got TreeView to work, by downloading the example database from this (http://www.access-programmers.co.uk/forums/showthread.php?t=80805&highlight=treeview) thread. I haven't had as much luck with ListView, though. Does anyone have a database they could post that has a working listview? I'd greatly appreciate it!!

Thanks,
Eric

View 1 Replies View Related

Modules & VBA :: Setting Up Certificate Request Database - Attach PDF To Form

Aug 11, 2015

I have been tasked with setting up a certificate request database. I have an Access 2032 FE & SQL 2012 BE. I need to store PDF documents from all our branches.

I have been working on this for the past 3 working days and I have seen a great deal about saving the file path to the database vs saving the actual document in the DB. The documents would be located on each users computer.

I have a Form with all the information that is required by the certification department. On the form is a button (Called InsertID(ID in this case is the persons Identity Docuement)) and the button is linked to a table called dbo_CertificationSupportingDocuments. The table is referenced to the Main Certificate Request table.

The dbo_CertificationSupportingDocuments table is structured as follows:

Code:
[CertSupportingDocID] [numeric](18, 0) IDENTITY(1,1) NOT NULL,
[CertificateRequestNumber] [numeric](18, 0) NOT NULL,
[RequestBlob] [varbinary](max) NULL,
[RequestFileName] [nvarchar](50) NULL,
[RequestFileExtension] [nchar](10) NULL,
[RequestFileMimeType] [nvarchar](50) NULL

When I click the button I get a Run Time error 3075 "Syntax error (Missing operator) in query operator.

The code I am using is:

Code:
Dim fd As FileDialog
Dim strFileWPath As String
Dim FileNoExt As String
Dim FileExt As String
Dim StrSQL As String
Dim db As Database

[Code] ....

I have been looking at this code for so long that I cannot see what is wrong.

View 14 Replies View Related

Anyone Willing To Help Me Design A Database?

Nov 8, 2005

Hello everyone. Im relatively new to access, i've only been using it for a few weeks. There are certain aspects that I cannot get my head around.

Is anyone willing to let me email them what I have done so far and the criteria for the database I am making and advise me where I am going wrong and where I need to be heading to get it right?

Thanks very much. Any help will be very much appreciated.

View 14 Replies View Related

Database Design

Apr 15, 2007

When creating a database is it true that ideally i should avoid using the lookup wizard at table level and instead do that with combo boxes at form level ?

Thanks

View 6 Replies View Related

Database Design

Feb 13, 2008

Hi

I have three tables

1 tblAssistFMWork in which is stored the fields JobNumber, SiteRefNumber, SurveyorNo
2 tbltable1 which has the field SiteRefNumber, Address1, Address2 etc
3 tblAssistFMSubJobNumbers which has the fields JobNumber, SubJobNumber.

JobNumber is the relationship between tables 2 and 3 and SiteRefNumber is the relationship between tables 1 and 2. There are other fields in each table but these are the relevant ones for this question.

Each JobNumber will have a minimum of one SubJobNumber but may have many. Each SubjobNumber starts at 1 for each new job so this may look like this in the table

JobNumber SubjobNumber
0001 1
0002 1
0002 2
etc
Each SiteRefNumber may have one or many JobNumbers

I wish to enter the date a SubJobNumber is completed and have been struggling with pulling the record into a form using a combo box because of the need to enter the JobNumber and also the SubJobNumber. So I decided to create a new table tblAssistFMJobDateCompleted which has the fields

JobNumber, SubJobNumber, DateJobCompleted

I need to report on a jobs status ie done or not done, but when I created the query for this it would only pull the records which have a completed date on them.
Could someone please give me some advice as to a way forward.

Thanks

Richard

View 3 Replies View Related

Help With Database Design

Feb 20, 2005

I have been reading other posts, and this where i should have started from the beginning,I am not very experienced with access (or forums as yous propably know) but can learn anything in no time (hopefully).

I would like to design a database to store all the info about a drag racing event including;

• event info (Event name, track name, event date)
• car info (Car name, gearbox type, diff ratio, engine name,)
• driver info (driver firstname, driver lastname)
• Engine info (make, model, engine compression, carburetor, front carburetor jets, rear carburetor jets, fuel pressure, engine timing at idle, total engine timing)
• Race info (track temperature, relative altitude, milibars, humidity, air temperature, tyre type, tyre size, tyre pressure hot, tyre pressure cold, stage RPM, shift RPM, reaction, 60foot time, 330foot time, 660foot time, 660foot MPH, 1000foot time, elapsed time, elapsed MPH, comments.)

My issue is design of tables and relationships. as you can probably see, obviously cars will do many runs at each event, and there engine setups and car setups(diff ratio) can differ each run. there might also be different drivers for the same car. weather info like track temp etc also change from race to race so I think it is possible I might need some sort of race time as-well. My main reason for the database, apart from organizing all my results would be so that I could do a run at an event and search previous races by the current runs weather info (relative altitude, milibars, humidity, etc) as to set the car up similar to keep it’s elapsed times consistent. Please, please, please help as I am at a total loss.
Thanks in advance!!

View 14 Replies View Related

Database Design

Aug 5, 2006

Hi all

I've created a database from scratch. No data attached anywhere yet - I'm planning to input the data manually through my Form.

Well I have about 15 tables - CustomerInfo_tbl is the main table with the field RefNumber my primary key (it's an Autonumber which is sequentual). The rest of the tables are normal tables which I plan to link.(these tables also have RefNumber fields which are LongInteger) All the tables have about 10 fields in them.

So then I have 2 choices - I can make one big table (about 150 fields) or 15 tables with 10 fields each and the join them. I heard somewhere that it's better to have small tables and then link them up. So I'm going the smaller tables route.

I'll tell you what I did. I joined all the tables to my CustomerInfo_tbl with a one-to-one join. Then I made a Query, and then I set the RefNumber of the other tables equal to the RefNumber of my CustomerInfo_tbl.

I have 1 problem. When I enter some data into the form (I do not enter all the fields I leave some blank) it isn't displayed in the query, but it is displayed in the appropriate table. Only when I enter all the fields it is displayed in the query correctly and also in the tables.

Any help? I hope I made my question clear enough.

Thank you in advance.
Cheers
kruger101

View 2 Replies View Related

Database Design

Nov 7, 2007

Hi, i got back to working on databases again for the first time in years and ive got confused on the offset.I went to set about desigining my tables and cant figure out how to do it.most of its simple stuff however this one bit stumps me.

Im designing a database to hold stock information in work we manufacture parts for rally cars and when a customer rings up i need to have the price at hand.I can store the prices etc of individual parts,however some people request kits which would have there own stock number and all the same relevant data i.e. Item Name,Type,Cost,Number in stock,Selling Price.......

These kits would consist of several items from the stock table.and when a kit is sold it will be inserted into the Sold Items Table together with the other individual parts a Customer may order.

Any help would be gratefully recieved.

View 11 Replies View Related

Database Design

Oct 22, 2004

Hi all

I have a new project but before I get started, I need some advice on design.

I'm designing a student report card which I'll implement for 1300 students next year. The concept is an ongoing electronic markbook where teachers update the progress of each student and then at the end of the year print a report based on the captured data. The data is then passed on to the next teacher the following year.

My problem is data storage. During the course of a year a teacher may mark off up to 550 things a student can do. After 7 years of schooling (7 x 550) this amounts to a large amount of data. The thing is, I could reduce the number of fields if the multiselect list box stored multiple pieces of data. Option groups are no good because only one piece of data is stored and I certainly don't want thousands of check boxes.

Basically, I'm looking for a way to store multiple pieces of data in the one field. I'm also looking for a way in reducing the amount of clicks (i.e. one click instead of 2 to enter data)

I can't delete data because it's an audit requirement to keep it.

Any ideas??

I appreciate any help

View 4 Replies View Related

Database Design

Mar 4, 2005

Can someone help me out with the design of my database? I currently have it set up one way and I am running into problems when I need to update information?

here are the attributes I have to put in the database for Printer cartridges:

ProductName
Manufacturer
Category
ProductCode
Price
Weight
Description
--------------
There can be numerous products with the same name
(for example: C120 is a product name but can be made by HP and by Canon)

There can be numerous products with the same ProductCode
(for example: F416301700 is a product code but can have multiple products with that code)

Currently I have it set up like this:
3 Tables
--------
PRODUCTS
ID
PRODUCTNAME
MANUFACTURER
CATEGORY

DETAILS
ID
PRODUCTCODE
PRICE
WEIGHT
DESCRIPTION

COMBINE
ID
DETAILS$ID
PRODUCTS$ID

-----------------
I have created that combine table to link the two other tables together.
I am running into problems now when i want to update a product and I don't know where to take this from here. I think if I have a better design from the get go it will prevent problems in the long run.
Can anyone help me with this?
Thanks
dp3133

View 7 Replies View Related

Database Design

Mar 17, 2005

Hi, I’m fairly new to access and I’m creating (well, want to create) an employee database. I was wondering if anybody has created an employee database that keeps track of employees information like; personal information, salary, training the employees have taken, performance reviews and much more and if so do you have any suggestions on the design. Pretty much this database will be an electronic version of the employees personnel file.

Or does anybody know of any sample databases, not necessary an employee database that have been shared here in the past that I could look at and get ideas (formulas, qrys, tbls. etc.) from there.

Thank you.

View 2 Replies View Related

Database Design Help Please

Jan 11, 2006

Hi,

I am designing a db for my car event that happens once a year.

It needs to hold car info like engine specs, car specs. Entrant details and event details, merchandise info.
I started out designing on paper (Can’t stress how much this helped a definite must for all noobs and experienced I would imagine) and went from there.

Ended up using northwind and modified it to suit my situation.definately recommend this to beginners as it gives you a good look at databases and great starting point. anyway this db has everything I need I think, the db is for holding info about participants in a car event. There is a form that the entrant would fill out asking there details and the car details. There is also a section on the form to buy merchandise as the car event has its own T-Shirt and DVD.I have added this into the database but I am having trouble finding where to put the T-Shirt Sizes.

E.g. there has been 3 events so far (1 per year), car event 1, car event 2, car event 3.each event has had a T-shirt. this t-shirt comes in sizes, xxs,xs,s,m,l,xl,xxl,xxxl,xxxxl,xxxxxl.my problem is do you add the same t-shirt in the products table 10 times just with different sizes.

also the Entrants form has subform event, where you select the event each year as to not have to enter entrants twice.i can not seem to figure this out either.

Once you look at the db you will have a better idea.

The database only has a very standard form for getting around while I complete the design, all the beautification will come after this stage.

Any other ideas would be greatly appreciated.

Thanks
(PLEASE COPY AND PASTE THE LINK INTO YOUR BROWSER OR IT WILL NOT WORK DUE TO REMOTE LOADING)

Access 2000

Access 2002-2003

View 1 Replies View Related

Split Database Design

Sep 11, 2005

I am combining 12 Databases. I have split all 12 between the server and the desktop. My question is “Should I combing all of the data table on the server into one database or should I leave all of the individual application data tables in separate Databases on the server”. Additionally, is there a limit to the number of tables an Access DB can handle? My inclination is to keep the functionality separated but the problem I have is that some of the functionality within the applications overlap. Recommendations!

View 2 Replies View Related

Help With Database Design - Analysis

Sep 23, 2005

Hi Guys,

I have sort of problem - I'm trying to desing the database for one of the organisations.
The entities are: Family, Child, Referral, Voucher, Receipt, Provider, Activity.

That's ok so far. I've been asked to do the option for the new address of the Child - in case if they move to the new place and keep the old one as well.

Family table is the 'child table type' for the Child table - family can have more than one child, but one child can be part of only one family (one to many relationship).

I thought to make a seperate table 'tblAddress' and store all addresses in this table - then link them to the family - this however requires from me to have additional field for - for instance - second address, third address, which in case there was no change in address would remain empty value.
The other option - which obviously is absolutely waste of space is to add straight away additional address fields in the 'Family' table itself.

Don't you know of any other, more appropriate solution?
If you need more detail - I can send the copy of the database which I have created so far.
I would appreciate any help.

Thanks,

Scabro

View 14 Replies View Related

Questions On Database Design

Jul 30, 2007

Hi,
New to forum. Beginner/Intermediate Access Experience.

Here is what I am trying to accomplish:

The database i am creating will basically need to have a user check-off a list of Fire Extinguishers that he has checked, on a monthly basis. For example, the user will enter a date, and then a form with a list of all the extinguishers will pop up, and he will place a check mark by each one. When he enters the check mark, that date will be stored so that we have a history of when each extinguisher was checked and by whom (using initials or something)

Currently, my design is simple, something like this:

tblUser
pkUserTableID
fldUserName
fldUserInitial
fldINSPECTIONDATE

tblExtinguisher
pkExtinguisherID
fldExtinguisherNumber
fldExtinguisherManufacturer
fldExtinguisherType
fkUserTableID

My question is this:
-Am I going down the right track with the 2 tables?
-Do I need a third table to Store the Historical Data?
-I am not quite sure how to layout the form so that all the extinguishers are listed.

I know these questions may seem vague, but any help would by highly appreciated.
thank you.

View 4 Replies View Related

Survey Database Design...

Nov 21, 2007

I am trying to set up a database that manages responses to a variety of survey questionaires, and I want to know if I am on the right track before I proceed. Sorry if this gets a bit verbose:

Here's the general 'business rules':

1) There are many different historic survey types. Some have also not yet been defined.

2) A specific question may appear on more than one survey type.

3) Each survey type can have a different number of questions.

4) The 'valid' answers to a survey question fall into two general groupings:
- multiple choice (variable number of choices)
- freeform text (and "other__________ " could be a multiple choice response)

5) There will be a lot of repetition in the multiple-choice choices. For example, there will be lots of "TRUE/FALSE" or "YES/NO" questions, lots of 'Rate the following on a scale of 1 to 5' type questions, etc.

6) Some of the multiple choice valid-answer-sets may be more unique, such as '200,400,600,1000,other'.

7) We (sometimes) want to capture such information as 'don't know', or 'answer illegible' or 'not answered' or 'don't care', but these can just be more 'pre-set' choices in the db that do not appear on the paper forms

After some whiteboarding, I arrived at the attached db structure....

View 4 Replies View Related

Database Design Issue

Dec 31, 2007

Hello, I'm designing a database for a small country club for skiing, and am running into an issue. One of the goals of the database is to keep track of how many times potential members try out the skiing, currently we are storing the dates they ski in the same table as all of their personal information, We need to keep track of each individual date, so there are field for first visit, second visit, etc. We need to be able to run a report in which it can search the six date fields and pull up all records within a date range, is this possible, or should I create an additional table which stores dates, and is linked to the guest ID?
your help is greatly appreciated!!!!!

Thanks, Brian

View 2 Replies View Related

Database Design - Structure.

Dec 5, 2004

I have 7 tables:

Booking - BookingID
Course - CourseID
Company - CompanyID
Materials
Materials_on_course (had to have this in order to avoid many-to-many.)
Employee - EmployeeID
Employee_runs_course (had to have this in order to avoid many-to-many.)

I'm stuck with the Course and employee thing. Each employee has an expertise or two, and therefore each course has an expertise needed to run it (a specialist if you like).. so the PK in 'course table' is Course ID, you cannot have two PKs in one, so would it be right to say that the 'expertiseID' would have to go in 'Employee_runs_course' ?.. what would i do then? place 'expertise ID' as an FK in both employee and course tables?

Extra info:

Clients (tblCompany) can book one or many courses
A course can have one or many bookings made for it
A booking has one or many employees/courses
An employee can work on many bookings (obv if available)
Each employee has one or two expertise (usually only one)
and therefore a course has on expertise attached to it.

__

If you have a better way of designing it, shoot!
Attachment: ERD (kinda) of first draft.

View 1 Replies View Related

Help Needed For Database Design

Jul 11, 2005

Hi,

I want to make an access database but Im struggling with the relations a bit.
I understand the one-to-many and many-to-many concept but seems like there is more then that

I want to make a database that keeps track of things we lend.

I have several items with different properties we lend out:

eg

TANK
-ID
-Volume
-Weight

MACHINE
-ID
-hours
-fueltype

...

I made the following tables to keep track of it:

RENT
-ID
-Customer
-...

One-to- many relationship between these

RENTLINE
-ID
-RENT_ID
-Item


My problem lies with this Item.
I want this Item to have a relation with the ID of the different items we lend out. there needs to be a one-to-many relation here.
one rentline can exist of one TANK OR of one MACHINE.
A TANK or a MACHINE can exist on many orderlines.
So I made 2 one to many relationships from Rentline to the id's of Tank and Machine

the problem is that Access does not let me fill in the rentline with the id of a item. If I fill in the ID of a TANK it says a ID of a machine is needed and vice-versa.

I tried to solve it with an intermediate ITEM table that looks like this :
ITEM
-ID
-Sort ( Tank or Machine)
-ItemID (Id of the tank OR the Machine)

But this generates the same issue as directly in the rentline...

I guess this is pretty common stuff Im asking here but its confusing me like hell :(

thanks in advance for all advice

View 6 Replies View Related

Help Needed For Database Design

Oct 30, 2006

I would like to make a human Resource database that shows in a tabbed form some informations about our employees.

I would like to show per employee:
tab 1: general info (name, address, starting date, type of contract, department)
tab 2: salary history
tab 3: capabilities -whether they are available YES/ NO tick field and for the department the person is assigned to

I am thinking of the following tables:
Employees - EmployeeID, Name, address, starting date, type of contract
Department - DepartmentID, Capabilities
Salary History - EmployeeID, Date, Salary, Notes
EmployeeCapabilities - EmployeeID, DepartmentID, Capabilites [Yes/ No]

The only problem I have is to make the correct relations between the lot of them.

Can anyobe help out here?

View 1 Replies View Related

Table Design For A Course Database

Apr 20, 2007

I am building a database for an activity society. There are 2 courses in each season, each course has 10 sessions. Students can be old (returning student)and new.

What we want to achieve is to check student information, the student's attendance situation, how many students in each session, etc.

The table I designed is:

1. Student Detail (student info)
2. Spring 2006 Sunday Course (student ID, payment, each session attendance...)
3. Spring 2006 Tuesday Course
4. Summer 2006 Sunday Course
5. Summer 2006 Tuesday Course
.
.
.
(each new course has a new table)

The problem is for each new course will need to add a new table. I just want to know if there is a better way to manage the data. Thanks for you help!

View 3 Replies View Related

Whats Better For Database Design?

Aug 17, 2007

I need to store a question like...

I felt scared...
[]Before I was on the roller coaster
[]When I was on the roller coaster
[]After I was on the roller coaster

I need to be able to query/search the database for people that were scared "before", "during", "after", "before and during", "before and after", "during and after". Then I can categorize these people. What would be the best way to do it? Should I have 3 "yes/no" fields in my table, or one text field with those 3 as the lookup field? What one would make organizing the people easier? :D Thanks!

View 7 Replies View Related

Need Help In Design; Database For Msds

Sep 21, 2007

I am trying to create a database that generates a msds document for our products.

I have three tables so far:

TBL_MSDS
ID (PK)
ProductCode
ComanyName


TBL_ProductCode_Ingredient
ProductCode
IngredientID

TBL_Ingredient
IngredientID
CAS#

I've created a form that has default values for company information and other first aid procedures(I did not list these fields to save space).
I want to be able to enter the product code on one tab, then on the next tab I would like to select from a list of Ingredients that the product may contain. I should be able to select as many ingredients as I like---and when I select an ingredient, its CAS# is automatically entered as well.

Then I would like to print a report based on this form.

I am not familiar with VBA. Also, I am not sure how to link more than one table to form, and how to select certain records based on user entry.

Any help would be appreciated.

Thanks.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved