I created a query that give me Total Count of invoices in a particular type of job. I made a datasheet form. Now I want to click on the TotalCount of records to open the form to view only the records in that type of job. THis is what I'm using but its not working. Can you tell me what I'm doing wrong?
DoCmd.OpenForm "datasht_AllInvoices", , , "[Type of Job]=" & "'" & [Type of Job] & "'"