I don't seem to get the right syntax for opening a report with only the records where the field Reference equals UD : DoComd.OpenReport "rptCosts", acViewPreview, , Reference= "UD" What's wrong with the syntax ?