Hi everyone. I need help on the following issue, pls.
I have a crosstab query
sql: TRANSFORM Max(qry_Files.FileDateLastModified) AS MaxOfFileDateLastModifiedSELECT qry_Files.FileId, A2018.BranchName
FROM qry_Files LEFT JOIN A2018 ON qry_Files.FileId = A2018.BranchID
GROUP BY qry_Files.FileId, A2018.BranchName
PIVOT qry_Files.StatusFinal;
I created a form based on the query above and now i need to open another form named frm_ReportsOPEN, in specific record depending on a column value of my first form.
On a column value field and on mouse Down event i tried to use the code below:
DoCmd.OpenForm "frm_ReportsOPEN", , "MaxOfFileDateLastModified = #" & Me.Primary & "#"
but it doesn't seem to work. Filter is on and both fields are date fields.
What should I do ?
Thanks u!
I have a crosstab query
sql: TRANSFORM Max(qry_Files.FileDateLastModified) AS MaxOfFileDateLastModifiedSELECT qry_Files.FileId, A2018.BranchName
FROM qry_Files LEFT JOIN A2018 ON qry_Files.FileId = A2018.BranchID
GROUP BY qry_Files.FileId, A2018.BranchName
PIVOT qry_Files.StatusFinal;
I created a form based on the query above and now i need to open another form named frm_ReportsOPEN, in specific record depending on a column value of my first form.
On a column value field and on mouse Down event i tried to use the code below:
DoCmd.OpenForm "frm_ReportsOPEN", , "MaxOfFileDateLastModified = #" & Me.Primary & "#"
but it doesn't seem to work. Filter is on and both fields are date fields.
What should I do ?
Thanks u!