A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Total Positions vacant+filled



 
 
Thread Tools Display Modes
  #1  
Old November 25th, 2009, 10:07 AM posted to microsoft.public.access.forms
Tia[_3_]
external usenet poster
 
Posts: 126
Default Total Positions vacant+filled

Dear all,

I have a table,that shows me a list of job title and total required
for each positions.
And a table for a job offer list that mentioned the position name and
applicant details.
My query looks like this

I have made a query combining between the salary scale and count
joboffers

Position :SALARYSCALE Query
Total required:SALARYSCALE Query
CountOfPOSITION APPLIED FOR:JOBOFFERCOUNTBYPOSITION
REMAININGBALANCE: nz([SALARYSCALE Query]![TotalRequired])-nz
([JOBOFFERCOUNTBYPOSITION]![CountOfPOSITION APPLIED FOR])

I am getting the list of the positions that has been applied for along
with the remaining balance.
But what i really needs is a list for all the position in the salary
scale mentioning the sum of 0 taken or the total job offer.

What i am getting is only the list of the job titles with a job offer
What i need is a list with the vacant job titles

Hope i was clear
  #2  
Old November 25th, 2009, 02:17 PM posted to microsoft.public.access.forms
Daryl S[_2_]
external usenet poster
 
Posts: 881
Default Total Positions vacant+filled

Tia -

It is easier for us if you post the query using the SQL View of the query.

To get a list of vacant jobs, you would use the same two sources in your
query, but use an outer join (double-click on the line joinging the two
sources to see the joins). You will want to show ALL records from the
query/table that shows the job title and the number to fill.

Then in your query grid, make sure the job title is selected from both
sources, but the job title from the source with positions and applications
should have in the criteria row "Is Null"

If this is confusing or you need more help, post your SQL Query so we can
better understand your needs.

--
Daryl S


"Tia" wrote:

Dear all,

I have a table,that shows me a list of job title and total required
for each positions.
And a table for a job offer list that mentioned the position name and
applicant details.
My query looks like this

I have made a query combining between the salary scale and count
joboffers

Position :SALARYSCALE Query
Total required:SALARYSCALE Query
CountOfPOSITION APPLIED FOR:JOBOFFERCOUNTBYPOSITION
REMAININGBALANCE: nz([SALARYSCALE Query]![TotalRequired])-nz
([JOBOFFERCOUNTBYPOSITION]![CountOfPOSITION APPLIED FOR])

I am getting the list of the positions that has been applied for along
with the remaining balance.
But what i really needs is a list for all the position in the salary
scale mentioning the sum of 0 taken or the total job offer.

What i am getting is only the list of the job titles with a job offer
What i need is a list with the vacant job titles

Hope i was clear
.

  #3  
Old November 25th, 2009, 03:15 PM posted to microsoft.public.access.forms
Tia[_3_]
external usenet poster
 
Posts: 126
Default Total Positions vacant+filled

On Nov 25, 6:17*am, Daryl S wrote:
Tia -

It is easier for us if you post the query using the SQL View of the query.. *

To get a list of vacant jobs, you would use the same two sources in your
query, but use an outer join (double-click on the line joinging the two
sources to see the joins). *You will want to show ALL records from the
query/table that shows the job title and the number to fill.

Then in your query grid, make sure the job title is selected from both
sources, but the job title from the source with positions and applications
should have in the criteria row * "Is Null"

If this is confusing or you need more help, post your SQL Query so we can
better understand your needs.

--
Daryl S



"Tia" wrote:
Dear all,


I have a table,that shows me a list of job title and total required
for each positions.
And a table for a job offer list that mentioned the position name and
applicant details.
My query looks like this


I have made a query combining between the salary scale and count
joboffers


Position :SALARYSCALE Query
Total required:SALARYSCALE Query
CountOfPOSITION APPLIED FOR:JOBOFFERCOUNTBYPOSITION
REMAININGBALANCE: nz([SALARYSCALE Query]![TotalRequired])-nz
([JOBOFFERCOUNTBYPOSITION]![CountOfPOSITION APPLIED FOR])


I am getting the list of the positions that has been applied for along
with the remaining balance.
But what i really needs is a list for all the position in the salary
scale mentioning the sum of 0 taken or the total job offer.


What i am getting is only the list of the job titles with a job offer
What i need is a list with the vacant job titles


Hope i was clear
.- Hide quoted text -


- Show quoted text -


THis is the sqlSELECT [SALARYSCALE Query].Position, [SALARYSCALE
Query].TotalRequired, JOBOFFERCOUNTBYPOSITION.[CountOfPOSITION APPLIED
FOR], nz([SALARYSCALE Query]![TotalRequired])-nz
([JOBOFFERCOUNTBYPOSITION]![CountOfPOSITION APPLIED FOR]) AS
REMAININGBALANCE
FROM [SALARYSCALE Query] INNER JOIN JOBOFFERCOUNTBYPOSITION ON
[SALARYSCALE Query].ID=JOBOFFERCOUNTBYPOSITION.JOBOFFERSACTIVE.
[POSITION APPLIED FOR].Value
ORDER BY [SALARYSCALE Query].ID;
  #4  
Old November 25th, 2009, 07:15 PM posted to microsoft.public.access.forms
Daryl S[_2_]
external usenet poster
 
Posts: 881
Default Total Positions vacant+filled

Tia -

I have updated your query below. The SELECT statement uses the same
tables, but the join is now an outer join, which will allow us to pull
records from one table where there are no matches in the second table. You
can paste this in a new SQL View window and test it out:

[SALARYSCALE Query].Position, [SALARYSCALE
Query].TotalRequired, nz(JOBOFFERCOUNTBYPOSITION.[CountOfPOSITION APPLIED
FOR],0), nz([SALARYSCALE Query]![TotalRequired],0)-nz
([JOBOFFERCOUNTBYPOSITION]![CountOfPOSITION APPLIED FOR],0) AS
REMAININGBALANCE
FROM [SALARYSCALE Query] LEFT JOIN JOBOFFERCOUNTBYPOSITION ON
[SALARYSCALE Query].ID=JOBOFFERCOUNTBYPOSITION.JOBOFFERSACTIVE.
[POSITION APPLIED FOR].Value
ORDER BY [SALARYSCALE Query].ID;

--
Daryl S


"Tia" wrote:

On Nov 25, 6:17 am, Daryl S wrote:
Tia -

It is easier for us if you post the query using the SQL View of the query..

To get a list of vacant jobs, you would use the same two sources in your
query, but use an outer join (double-click on the line joinging the two
sources to see the joins). You will want to show ALL records from the
query/table that shows the job title and the number to fill.

Then in your query grid, make sure the job title is selected from both
sources, but the job title from the source with positions and applications
should have in the criteria row "Is Null"

If this is confusing or you need more help, post your SQL Query so we can
better understand your needs.

--
Daryl S



"Tia" wrote:
Dear all,


I have a table,that shows me a list of job title and total required
for each positions.
And a table for a job offer list that mentioned the position name and
applicant details.
My query looks like this


I have made a query combining between the salary scale and count
joboffers


Position :SALARYSCALE Query
Total required:SALARYSCALE Query
CountOfPOSITION APPLIED FOR:JOBOFFERCOUNTBYPOSITION
REMAININGBALANCE: nz([SALARYSCALE Query]![TotalRequired])-nz
([JOBOFFERCOUNTBYPOSITION]![CountOfPOSITION APPLIED FOR])


I am getting the list of the positions that has been applied for along
with the remaining balance.
But what i really needs is a list for all the position in the salary
scale mentioning the sum of 0 taken or the total job offer.


What i am getting is only the list of the job titles with a job offer
What i need is a list with the vacant job titles


Hope i was clear
.- Hide quoted text -


- Show quoted text -


THis is the sqlSELECT [SALARYSCALE Query].Position, [SALARYSCALE
Query].TotalRequired, JOBOFFERCOUNTBYPOSITION.[CountOfPOSITION APPLIED
FOR], nz([SALARYSCALE Query]![TotalRequired])-nz
([JOBOFFERCOUNTBYPOSITION]![CountOfPOSITION APPLIED FOR]) AS
REMAININGBALANCE
FROM [SALARYSCALE Query] INNER JOIN JOBOFFERCOUNTBYPOSITION ON
[SALARYSCALE Query].ID=JOBOFFERCOUNTBYPOSITION.JOBOFFERSACTIVE.
[POSITION APPLIED FOR].Value
ORDER BY [SALARYSCALE Query].ID;
.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:06 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.