You typed the code in, right? Typo, strWhere with gstrWhere..., DoCmd. with Do.Cmd...!!
Change Chr$(34) to Chr$(39) if the ProcedureID field is Text, or remove it out if number.
Or is the ProcedureID field exist? If not, you will get the prompt.
HTH.