Docmd.OpenQuery "TheQueryName", acViewNormal
Where it says acViewNormal, you can also use acViewDesign or acViewPreview and you can set the edit mode to Add or ReadOnly or Edit (default is Edit) after the acViewNormal (example: acViewNormal, ReadOnly )
BL
hth