Queries :: Building Rating Scheme Query?

Jul 8, 2014

I currently have 2 tables in a database that I'm trying to build a query off of. The first table lists personnel & their position #s, and the second table has a column for "rated person", "rater", "senior rater" and "reviewer" which are all part of our annual evaluations. I'm trying to program the query to display the names of the person attached to a position #, but can only get the query to return the actual position #s.

I'm using the table to assign each position # appropriately, i.e. position # 10202 is rated by 10103 and senior rated by 10101; I do this with the lookup data type. Once each position # is assigned, I'd like the query to display the name of the personnel instead of the position #, i.e. when queried, it would return under the rater column JOHN SMITH instead of 10202, and in the senior rater column JOHN JONES instead of 10103, etc.

View Replies


ADVERTISEMENT

Security - Allow Query Building, But Not Table Building/modification

Sep 23, 2006

I've been trying to figure this out, but it looks like a no go.

I wanted to give my users the ability to create/modify queries, but NOT create/modify tables.

Does anyone know if this is possible in Access 2002?

Thanks,

Earl

View 2 Replies View Related

Queries :: Building A Query For A Report - Combobox?

Oct 14, 2014

I have a combobox that I use to combine the employees first name and id number. So when you pull down the list you can select the employee you want and it is saved in the form. Now I need to create a query so that I can create a report on each employee separately. The query will not let me get the Employee Frist Name/ID from that saved field. I thought that what is saves in that field, you can retrieve it in your queries or reports.

View 3 Replies View Related

Queries :: Building A Query To Pick Between Set Months / Days But Different

May 4, 2014

I am building a database with Access 2013. The information contains data built from a workplace violence report form. I have to build a query to pick the data but must fall between two different years.The data range must be from 09/01 previous year (ex. 2012) and 08/31 current year (ex. 2013).

As the database collects more information, the year range will change but the other information will stay the same (ex 09/01/2013 to 08/31/2014).I do not want to change the query annually, just let it change the year automatically.

View 1 Replies View Related

Query For Calculating A Rating Depending On Multiple Criteria

Dec 4, 2007

Hi All,

I have fought hard to try and figure this out and I have gotten 50% there.

I have a query that generates the following calculated fields through numerous calculations etc....:

[De-Merit Marks]
[No Del with Major Faults]

Now the way it should work is that a supplier gets a rating (A-D) depending on both their De-Merit Marks score and the amount of deliveries with major faults. I used the following function in the query and it does the de-merit mark grading.

Rating: IIf([qry_vend_rating2]![De-Merit Marks]<=10,"A",IIf([qry_vend_rating2]![De-Merit Marks]<=30,"B",IIf([qry_vend_rating2]![De-Merit Marks]<=50,"C",IIf([qry_vend_rating2]![De-Merit Marks]>=51,"D",""))))

However I have no idea how to integrate the Major Faults part.

Basically:

0-10 = A
11-30 = B
31-50 = C
51-100+=D

If the supplier has one major fault, the rating should drop one from that reported using just the de-merit score. Two means it drops two ratings (so if an "A" on just the demerit, they would drop to a "C" and so on. Obviously a supplier cannot drop below a "D".

Can anyone suggest how these maybe acheived? I fear it requring VB code, but I am not that good with VB hence why I have relied on queries for this.

TIA

View 2 Replies View Related

Macro - Filter By Scheme

Feb 24, 2012

I have an open form. In that form I want a control to do a macro. The task is the following events:

Home>Advanced>Filter by scheme.

The first event in the macro should be to empty the form.

View 3 Replies View Related

Queries :: Automatically Building Reporting Database?

Sep 13, 2013

I want to build a database stored on a server which can be used by our employees as basis for their Excel pivot reporting

The idea is as follows:

I make a query that will get selected data (via odbc) from several Progress database tables of our ERP system and write them to one MS access table

The idea is to run each night at midnight a query (append or make table) via a schedule and gradually build a huge database table holding sales details

This table will be used as basis for the Excel pivot reporting .These reports are currently run directly on the ERP system's database which slows things down

Question:

1. Is it possible to automate the queries (perhaps via scheduler or 3rd party program ?

2. what would be better to use an append query that adds data or a maketable query which constantly replaces the data ?

3. How many ODBC connections on a MS Access database can I have at the same time ?

View 1 Replies View Related

Creating An Update Database For A Loyalty Points Scheme

Feb 5, 2008

hi i want to create a loyalty points scheme though a database,
general rulse apply 1 point per £1,

when the customer spens some money the staff then go to the machine and input the relevent data.

then a statment will be printed out for that customer with the points to date, and thier purchase the amount of point collect with the new total.

To search the full name and postcode would be adiquit as the printed statment could be lost and so could the customer id get confused by the customer.

for the report the layout would look like this:
eg

customer ID
cathy smith
e-mail,
address,
postal code,

02/12/2007 points to date 200
05/01/2008 puchase made £30.00
05/01/2008 new points total 230

if they use points it would look like

02/12/2007 points to date 200
05/01/2008 puchase made £30.00
05/01/2008 points use 125
05/01/2008new points total 100

point can be enterd manually and removed manually as customers want to save like a saving scheme

please help me with is as i have no idea where to start and if it posible, and limited knoledge of access

thanks in advance

View 4 Replies View Related

Queries :: Building Crosstab For Logic To Evaluate 2 Columns

Jul 17, 2013

Record Primary Key: ID_Wells..The TxtFedStCo has Fed, St, Co, ... in one field - and a Dt_Apd_Sub (date submitted) .There can be zero or many dates submitted for each Fed or State.

Objective:
If
A Fed has (1 or many) date submitted
AND
A St has (1 or many) date submitted
Condition is TRUE

How do I get to the next step? The reason for doing this in SQL is to prototype in Access, then move this over to TSQL later.

View 1 Replies View Related

Wine Rating Database

Dec 21, 2005

Hi all,

Does anyone have a database lying around for registering and rating wines?

If not, I will just start from scratch and maybe if it goes well, post it here in the Sample Database section.

Cheers!

View 1 Replies View Related

I Need Help On Building Query

Jun 20, 2005

I have at least 15000 records and all of them should be corrected if there is existing duplicates with same EMBG and different name. More precisely if there are 2 persons with same EBMG lets say 123456789 but one with name Naim Arifi and other one Naum Arifi then query should present to me Naim and Naum. Example

1. Naim Arifi 123456789
2 Elton John 123456452
3. Naum Arifi 123456789
4. Naim Arifi 123456789
* *
* *
* *
* *
722. Naim Arifski 321546798
* *
* *


So the record 1 3 and 4 and 722 should be highlited because they have same EMBG and I need to find where is the mistake manualy (correcting from Naum to Naim). In this case row number 4 is mistake instead of Naim is Naum. I need to correct it manualy.

Could someone provide me some help

View 4 Replies View Related

Building A Query

Nov 8, 2004

Ok, I currently have a query built with requests. What I want to do is initially set each request with a priority.
Then when one request is closed the query will take the requests with priority 2 and change it to priority 1, change the request with priority 3 to priority 2 and so on. Also any new requests that are entered I want to be able to set their priority as well. Can anyone help me with this, or is it even possible?

Any help would be greatly appreciated!

View 4 Replies View Related

Show The Item Rating With Stars....help

Nov 30, 2005

Hi all

I have a rating table with the rate ID and title. Is there a way to represent the rate as stars image like this

http://65.19.160.24/forums/images/rating/rating_5.gif
http://65.19.160.24/forums/images/rating/rating_4.gif
http://65.19.160.24/forums/images/rating/rating_3.gif
http://65.19.160.24/forums/images/rating/rating_2.gif
http://65.19.160.24/forums/images/rating/rating_1.gif

instead of just showing the title of it.

i tried with this code

Select Case Me.RateID
Case 1
Me.Image0.Visible = True
Me.Image1.Visible = False
Me.Image2.Visible = False
Me.Image3.Visible = False
Case 2
Me.Image0.Visible = False
Me.Image1.Visible = True
Me.Image2.Visible = False
Me.Image3.Visible = False

Case 3
Me.Image0.Visible = False
Me.Image1.Visible = False
Me.Image2.Visible = True
Me.Image3.Visible = False
Case 4
Me.Image0.Visible = False
Me.Image1.Visible = False
Me.Image2.Visible = False
Me.Image3.Visible = True
End Select

but there is somthing wrong it dosnt change ?? correct me if im wrong please

View 10 Replies View Related

Modules & VBA :: How To Compare Two Records (Rating)

Jan 5, 2014

So I have a table:

table1: company_name, year_month, company_rating, rating_change

For each company, I would like to compare the rating from 201201 and 201202 (and keep going for each month) and if there's a change in the rating, update rating_change to the difference in rating values.

The company_rating is a value from 1 to 20.

How should I go about doing that?

View 6 Replies View Related

Help Building A Basic Query...

Sep 20, 2005

OK, here's the deal. I have two data tables, one of which holds many types of customer information and has a very large number of records, including, name, address, phone, and email. The other table contains only email addresses. Each email in the second, smaller table corresponds to a record in the larger list , by virtue of both records sharing the same email address (primary key?). I need to be able to take a short list of email addresses from one table and produce all of the records from the larger table that have corresponding email addys, essentially. Can somebody shed some light on how I can structure a query to solve this dilemma? Sorry for the newb question, just getting started out using db's.. Thanks!

View 1 Replies View Related

Building A Query From Table Fields

Dec 2, 2006

Hi,
I am trying to make a query from fields out of 3 tables.
All tables must include following fields:

Table 1 fields:
WR04 (year 2004)
Date
Reporting Person

Table 2 fields:
WR05
Date
Reporting Person

Table 3 fields:
WR06
Date
Reporting Person

I am trying to pull together in the query any given individual (Reporting Person) who may be included in all above tables but believe I may have a relationship problem as I am only getting results that match all tables.
I hope this is clear.
Any suggestions please.

View 4 Replies View Related

Building Query From 2 List Boxes

Feb 14, 2008

Hi

I am really at the end of my teather with this problem so i really hope someone here can find a solution.

I have 2 tables; Client (Client general info, defined by their location), ClientHardware (Info on the hardware a client has and also it's condition).

I need to be able to select one or more clients and display one or more conditions of their hardware, e.g. London, York, Bury + Red, Amber, Green condition.

After the Query is working right i will need to output it to a report through a button on the form.

I attempted adapting This Method (http://www.databasedev.co.uk/query_using_listbox.html) but adding another list and query just resulted in the report showing the all the records of the selected client (e.g. london) then all the records with the selected condition (e.g. bad) it would be ok if i could merge the list box selections into one query but right now it looks like this

MyDB.QueryDefs.Delete "qry ClientName"
Set qdef = MyDB.CreateQueryDef("qry ClientName", strSQL)

MyDB.QueryDefs.Delete "qry RAGType"
Set qdef = MyDB.CreateQueryDef("qry ClientName", strSQL2)

Is it possible to put the variables in strSQL2 into the creation of qry ClientName somehow?

Any help, large or small will be appreciated as I'm really at a dead end with this.


Regards


Phil

View 9 Replies View Related

Building A Db

Jan 2, 2006

Hi, I am desparate!! I work for a high school and need a database to record student community service hours over their high school careers. I have been trying to do this on and off since the summer. I promised I would have it done by the end of winter break but........I may have to go back to a spreadsheet if I can't get this right. That has proved to be a royal pain in the past few years.

I have set up tables but getting the relationships right is a problem. I dont know if it is possible but I would like to set it up so that I have a student form with 4 subforms for each school year. Each subform (4 tabs) will have the title of the school year (i.e. 05-06). We don't allow them to get credit if they go over on their hours for a given year. In other words, they can't do all their service hours in say, freshman year. They have to do 10 as freshmen, 20 as sophomores, 30 as juniors and 40 as seniors.

Each year I can refresh from the school db (for new students, etc.) but I can't go in and create a report in that program as we don't have the capability.

I am trying to teach myself but every tutorial I come across doesn't give reasons why you do something so I can figure out how to convert that info to help me. I have been researching this for a long time and looking at sample dbs.

Can anyone help? I am going to try to attach a copy of the mess I have made so far, Hopefully

Thanks in advance.

View 6 Replies View Related

Help In Building A Database

Oct 17, 2006

Hello all,

I need some assitant in building a simple check reconciliation database. I was wondering if anyone can guide me in doing so? Or if anyone has some kind of sample i can use that would be great. thanks

View 4 Replies View Related

Building A Agenda

Nov 7, 2006

Hello,

I want to build a agenda, like the one shown in the image below.
I have no idea how to start.

Any help would be greatly appreciated.

Thanks in advance

http://www.wega.nl/images/scherm/agenda.gif

View 5 Replies View Related

Need Help Building A Directory.

May 8, 2006

I have made an Access database containing contract names and addresses. I need to have each of these contracts linked to another table which shows the allocated engineer for the particular contract. I used a "one 2 many" relationship using a field "LinkID" to do this. Each engineer has a unique "LinkID" in the engineer table but the engineer changes each day. The engineer for each particular day comes via an excel spreadsheet. The way it works at the moment is that the engineer name has to be manually changed each day, and this takes time. I have tried importing a linked excel table which looked like it would work, but was not able to use the linked table in the same "one 2 many" related table format as above.

What i need to do, is find a way for the fields containing the engineer name to be automatically updated somehow, possible by reading the values from the excel sheet.

Anybody know of any way for this to be done?

Thanks, and hope this makes sense got its got me baffled.


*** Edit **** Thinking about it, i could have an imported execl sheet which contains all of the engineers for each day. Would there be a way using a macro, to update the data in the engineers table that is related to the contracts, by overwriting it with the data from the linked spreadsheet?

View 4 Replies View Related

Building SQL String As Sub For No Value

Jun 21, 2005

I'm running a 9 parameter query, where values for the criteria are drawn from a form. I'm confused as to how I build an "if, then" string so that if one of the parameters is left blank, the program will skip it and go to the next.

Any suggestions?

View 8 Replies View Related

Building SQL Statement

Mar 11, 2005

I need to create an sql statement where the having statement can grow depending on how many conditions I pass to it. There maybe 10 conditions or there may only be 1 condition statement. I guess I'm really looking more for proper structure. Should I use "if" statements or is there a way to structure a variable with "OR" statements in it and use that.

conditionStr = "Rental"
autoSeg = -221205415

strSQL = "SELECT tblSubSegments.fkSegment, tblSubSegments.fkType, " & _
"Sum([tblSubSegments]![Quantity]*[tblSubSegments]![Units]) AS Expr1 " & _
"FROM tblSubSegments " & _
"GROUP BY tblSubSegments.fkSegment, tblSubSegments.fkType " & _
"HAVING (((tblSubSegments.fkSegment)= " & autoSeg & ") AND " & _
"((tblSubSegments.fkType)= '" & conditionStr & "'))"

rst.Open strSQL, gblEstDataCnn, adOpenKeyset, adLockPessimistic

With rst
count = .RecordCount
End With

This works fine and returns a record count of 1 however if I change the conditionStr to:

conditionStr = " '& PMTravel & 'OR' & Rental &' "

This of course does not work. Thank you for any help.

View 2 Replies View Related

Help Building A List (newbie)

Feb 23, 2006

Hi,

I am hoping this is the right place to find some help.
I have just started access (2003) and i am trying to build a list.
Let me explain.

I have a table that contains
cartcode, description, price

and another containing
manufacturer, model

I then created a new table that links these tables together so that if i click the little + next to a cartcode i can see a list of models linked with that cartridge.

What i want to do though is create a query/table/anything that will create me a list of cartridges and then in the second column a list, hopefully seperated by a comma or all the printers models related to that cartridge.
I hope that makes sence.

So my question is how do i create the list which included related printers?

Thank you

View 4 Replies View Related

Help!! Database Building Issue

Mar 17, 2006

Hi all, i'm new here and I have a query about a database i'm building with which any help would be appreciated.

I'm designing a form and I need to be able to have an option to save to a temporary table for retrieval by users so that they can continue their saved record at a later time. Does anyone have any ideas on the best way to do this as I am relatively inexperienced and I have to have the whole database complete before Wednesday:confused:

View 2 Replies View Related

Creating Building Entry Log

Feb 21, 2007

I have been asked to add a building entry log (Session Log) for a gym members database I created 2 years ago, unfortunately having racked my brain for the last week I am no nearer a solution.

Background:
I am a novice with a little knowledge (Dangerous I know), the main structure of the database is Contact [Storing address and name], Payments [Storing membership info - renewal date etc] and Sessions [Storing session date & time] this sessions table was recently added as a stop gap measure to allow the staff to enter user sessions manually.

Problem:
System needs to log user as IN and record the current time on first entry of userID (5 digit number), then the second time userID is entered it must log user out and record the time.

Resources:
I have just a single laptop running windows 98SE, and a USB numeric keypad. I should be able to get hold of a second monitor if required, but beyond that it is a case of beg, borrow, or steal as my budget is ZERO.

Any help, or suggestions to get me on the right track would be greatly appreciated.

View 3 Replies View Related







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