User Profile

Collapse

Profile Sidebar

Collapse
stevec6832
stevec6832
Last Activity: Apr 17 '13, 11:12 AM
Joined: Mar 21 '13
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • stevec6832
    replied to query by only overdue dates
    Ok have it running for all following I created my first query as
    Code:
    SELECT Last(dbo_CandidateTracking.ContactDate) AS LastOfContactDate, dbo_CandidateTracking.CandidateID
    FROM dbo_CandidateTracking
    GROUP BY dbo_CandidateTracking.CandidateID;
    I then run a separate query as follows
    Code:
    SELECT DISTINCT qry_Last_Contact_Date.LastOfContactDate, qry_Last_Contact_Date.CandidateID, dbo_CandidateTracking.idtracking, dbo_CandidateTracking.NatureOfContact,
    ...
    See more | Go to post

    Leave a comment:


  • stevec6832
    replied to query by only overdue dates
    Ok have it working to a point as Rabbit mentioned, this works by bringing back the last date on the table. I might be acting really dumb here but have tried to group by the result by the candidate ID but to no effect. How can I expand this query to now show the result where it groups the result by candidateID and not just the max contactdate for all records.
    Code:
    SELECT dbo_CandidateTracking.idtracking, dbo_CandidateTracking.CandidateID, dbo_CandidateTracking.ContactDate
    ...
    See more | Go to post

    Leave a comment:


  • stevec6832
    replied to query by only overdue dates
    Hi Rabbit thank you I was attempting just what you mention there and if I can get it to work will post back with the code, I have used aggregate functions in a lot of my queries for this database but I bit stuck on this one (must be my age lol). I just love the challenges though.
    See more | Go to post

    Leave a comment:


  • stevec6832
    replied to query by only overdue dates
    Apologies in advance if you reply and I don't get back to you until tomorrow.
    See more | Go to post

    Leave a comment:


  • stevec6832
    replied to query by only overdue dates
    Code:
    SELECT dbo_TransedMasterR.IDMain, dbo_TransedMasterR.Status, dbo_CandidateTracking.CandidateID, dbo_TransedMasterR.[Student Number ], dbo_TransedMasterR.[First Name], dbo_TransedMasterR.[Last Name], dbo_CandidateTracking.ContactDate, dbo_CandidateTracking.NatureOfContact, dbo_CandidateTracking.AssessorNotes, dbo_CandidateTracking.LearningAchieved, dbo_CandidateTracking.TargetsSet, dbo_CandidateTracking.NextMeetingDate, dbo_CandidateTracking.AssessorName,
    ...
    See more | Go to post

    Leave a comment:


  • stevec6832
    started a topic query by only overdue dates

    query by only overdue dates

    Hi all, I have an access front end DB with SQL backend. To explain what I am trying to achieve. I have staff who work with students and they must see the student at least every month. I have a main table which stores all the students details. I have other tables but in particular one table that is used for tracking when a member of staff meets with a student. The tables are linked and work fine.
    What I am trying to achieve here is that I...
    See more | Go to post
No activity results to display
Show More
Working...