Hello guys,
I have a main form frmJob_TrackingAll which is bound to this query:
and I have a table named Indexing_Loan_Status which store records of each phase/status for each Situs_ID
Indexing_Loan_Status
LoanStatusID -- PK
Situs_ID -- FK for Job_Tracking table
Analyst -- user
InStChID -- FK for Indexing_Status_Change table
StatusTime
StatusDate
StatusComment
Indexing_Status_Change -- lookup table for all status/phase that a Situs_ID could have
InStChID -- PK
Status
Based on the query that is bound on the frmJob_TrackingAll, it returns all records that we have, what we are trying to do now is that we would like to sort it where in when frmJob_Tracking all is opened, it is sorted that loans that have child records in Indexing_Loan_Status table that doesn't have InStChID = 10 or 16, then records that doesn't have child records yet in Indexing_Loan_Status (which means records that have not been worked on/assigned yet), then lastly records that have InStChID = 10 or 16...
Is this even possible to sort out records this way?
What I tried to do was I created a sub-form (subfrmSentToClient) for frmJob_TrackingAll which the sub-form is bound to this query:
and linked this sub-form on frmJob_TrackingAll via Situs_ID...
but once I go to form view and see records that have a date on it, I however couldn't filter on it to show records that doesn't have a Sent To Client date on it...
Any help is greatly appreciated.
Thank you,
I have a main form frmJob_TrackingAll which is bound to this query:
Code:
SELECT Job_Tracking.Situs_ID, Job_Tracking.Project, Job_Tracking.Facility_Number, Job_Tracking.Requested_By, Job_Tracking.Client_Sponsor, Job_Tracking.Property_Loan_Name, Job_Tracking.PortfolioID, Job_Tracking.Date_Requested, Job_Tracking.FileSourceID, Job_Tracking.Specific_File_Instructions, Job_Tracking.File_Completion_Requested_Date, Job_Tracking.Date_Situs_Received_File, Job_Tracking.Situs_Est_Date_Of_Completion, Job_Tracking.PriorityID, Job_Tracking.Link_To_Completed_Files
FROM Job_Tracking
ORDER BY Job_Tracking.Date_Requested DESC;
Indexing_Loan_Status
LoanStatusID -- PK
Situs_ID -- FK for Job_Tracking table
Analyst -- user
InStChID -- FK for Indexing_Status_Change table
StatusTime
StatusDate
StatusComment
Indexing_Status_Change -- lookup table for all status/phase that a Situs_ID could have
InStChID -- PK
Status
Based on the query that is bound on the frmJob_TrackingAll, it returns all records that we have, what we are trying to do now is that we would like to sort it where in when frmJob_Tracking all is opened, it is sorted that loans that have child records in Indexing_Loan_Status table that doesn't have InStChID = 10 or 16, then records that doesn't have child records yet in Indexing_Loan_Status (which means records that have not been worked on/assigned yet), then lastly records that have InStChID = 10 or 16...
Is this even possible to sort out records this way?
What I tried to do was I created a sub-form (subfrmSentToClient) for frmJob_TrackingAll which the sub-form is bound to this query:
Code:
SELECT
Indexing_Loan_Status.Situs_ID,
Indexing_Loan_Status.StatusDate
FROM
Job_Tracking
LEFT JOIN
Indexing_Loan_Status
ON
Job_Tracking.Situs_ID = Indexing_Loan_Status.Situs_ID
WHERE
(((Indexing_Loan_Status.InStChID)=10
Or (Indexing_Loan_Status.InStChID)=16));
and linked this sub-form on frmJob_TrackingAll via Situs_ID...
but once I go to form view and see records that have a date on it, I however couldn't filter on it to show records that doesn't have a Sent To Client date on it...
Any help is greatly appreciated.
Thank you,