I've got the following Select statement, but vba won't let me compile it with a ) on the end (as shown). Giving a "Expected: end of statement" error.
But Access obviously throws an error if there are no )
Am I missing something?
But Access obviously throws an error if there are no )
Code:
Me.frm_Change_ApproversSubform.Form.RecordSource = "SELECT name FROM qry_getName WHERE UserId IN (SELECT approverID FROM tbl_Approval WHERE ChangeNumber = " & GetChangeNumber())
Am I missing something?