Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by HRISmess

  1. HRISmess

    Tweak to capture Employee Count as of---

    Think I figured it out -- d@mn syntax. A lack of parentheses were the main culprits; replacing '' with ""; and reformatting date was also necessary. Thanks! QUERY: select Count(*) As EECOUNT from e_history_job j where ((((j.empl_rcd_nbr) = 0) and (j.empl_status) in ("A","L") and...
  2. HRISmess

    Tweak to capture Employee Count as of---

    I have the following query that counts all employees in a specific status, before a specific date. I need to modify with appropriate syntax in Access...what tweaks am I required to make here? Or, is there a more simplistic way to capture the data? Any help is appreciated! Cheers! Query...
  3. HRISmess

    Self Join Query help needed -- extract last row of data only

    One more question on the topic: If I had to target a particular PersonnelAction that had Multiple Rows of data, how would the query change? For instance: EMPLOYEEID P_Action P_ActionDt EFFSEQ 123456789 TER 12/31/2006 0 123456789 TER 12/31/2006 1 123456789 MPR 1/1/2007 1 123456789 MPR 1/1/2007...
  4. HRISmess

    Self Join Query help needed -- extract last row of data only

    You guys are the best. As always, thank you for making my work life a little brighter!
  5. HRISmess

    Self Join Query help needed -- extract last row of data only

    I have some queries written in Oracle SQL that I need to jam into an Access Design grid - long story - and need some help. Essentially, I have a table with Employee personnel transactions and need a query that can identify the last of those transactions on any given day. So, I know I need a...
  6. HRISmess

    In a bad way - Need help with Max Date

    The query below identifies the last day an employee is in an EMPL_STATUS of (A or L). I need to now count all employees that were active as of monthend for each month of 2006...and I am stuck! Do I run a separate query to identify all EEs who have termed and their effective date; then, compare...
  7. HRISmess

    Using DMAX to establish unique records...help!

    I have a user form that I have created a field named "Transaction Number" for, which is not the primary key for the table used to build the form. I need to accomplish the following: 1) Create an indexed value with no duplicates in the "Transaction Number" field, that can update itself...
  8. HRISmess

    Trouble with DMAX and creating unique IDs

    I have a user form that I have created a field named "Transaction Number" for, which is not the primary key for the table used to build the form. I need to accomplish the following: 1) Create an indexed value with no duplicates in the "Transaction Number" field, that can update itself...
  9. HRISmess

    Need to identify Max Date and rest of data on row

    I appreciate the feedback. I wonder if adding the Where clause will limit output to only those with a Maximum effective Date than the 6/1/2005 example cited above? I'll try it and see where that gets me.
  10. HRISmess

    Need to identify Max Date and rest of data on row

    EMPLID EFFDT EMPL_STATUS JOBCODE 1111 1/1/05 A BAS 1111 1/1/04 L AOK 1111 1/1/06 A SAD Right now my query identifies the last row as the maximum effective date. What I am trying to answer is a a question such as: Identify the following...
  11. HRISmess

    Need to identify Max Date and rest of data on row

    I am in the process of doing some point in time reporting and am having difficulty identifying all the data on row 'As of' a specific date. For instance, I need to identify an Employee's status As of a specific date. The query below identifies the maximum effective date and corresponding...

Part and Inventory Search

Back
Top