WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

need assistance - novice access database

 
   Home -> Office other -> Table Design RSS
Next:  How to create Report showing All Product Sales by..  
Author Message
mzm2779

External


Since: Aug 28, 2009
Posts: 1



(Msg. 1) Posted: Fri Aug 28, 2009 11:05 am
Post subject: need assistance - novice access database
Archived from groups: microsoft>public>access>tablesdbdesign (more info?)

i have created an access database to track the amount of work that comes in,
is processed and completed in one week, for my staff.

I am now attempting to create reports and run querires to gain the following
data:
turn around time from receipt to entry per tech per week and per month
number of contracts approved per week
number of contracts pending per week

i have the following main table:
Agent code
Last Name
First Name
Middle Name
Individual
Corportation
Corporation Name
contracting Specialist
Contract Received
Contract Entered
Date of Decision
Decision

So, i know that i need to create an expression... but have no idea where to
start...
could really use some help.

Thank you,
Michelle
Back to top
Login to vote
KARL DEWEY

External


Since: Mar 03, 2006
Posts: 1786



(Msg. 2) Posted: Fri Aug 28, 2009 11:05 am
Post subject: RE: need assistance - novice access database [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I suggest using two tables, one for employees and another to record work.
tblEmployee --
EmpID - Autonumber - primary key
Last Name
First Name
Middle Name
etc.

Work --
WorkID - - Autonumber - primary key
EmpID - Long integer - foreign key
Agent code
Individual
Corportation
Corporation Name
contracting Specialist
Contract Received - I assume this is start
Contract Entered
Date of Decision - I assume this is finish
Decision

--turn around time from receipt to entry per tech per week and per month
SELECT [First Name], [Middle Name], [Last Name], Avg(DateDiff("d", [Date of
Decision], [Contract Received])+1) AS Average_Turn_Around
FROM tblEmployee LEFT JOIN WORK ON tblEmployee.EmpID = WORK.EmpID
WHERE [Date of Decision] Between DateAdd("d", -6,Date()-Weekday(Date())) AND
Date()-Weekday(Date())
GROUP BY [First Name], [Middle Name], [Last Name];

- number of contracts approved per week
SELECT [First Name], [Middle Name], [Last Name], Count([Date of Decision] AS
Comp_Last_Week
FROM tblEmployee LEFT JOIN WORK ON tblEmployee.EmpID = WORK.EmpID
WHERE [Date of Decision] Between DateAdd("d", -6,Date()-Weekday(Date())) AND
Date()-Weekday(Date())
GROUP BY [First Name], [Middle Name], [Last Name];

- number of contracts pending per week
SELECT [First Name], [Middle Name], [Last Name], Count([Contract Received]
AS Comp_Last_Week
FROM tblEmployee LEFT JOIN WORK ON tblEmployee.EmpID = WORK.EmpID
WHERE [Date of Decision] Is Null
GROUP BY [First Name], [Middle Name], [Last Name];

--
Build a little, test a little.
Back to top
Login to vote
Display posts from previous:   
       Home -> Office other -> Table Design All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
 Office
  Office Other
 Security
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET |
  • IT Support