I'm running a query from code and it pulls up the query window. But the menu allows the user into edit mode which I don't want them to be able to do. I'd like to be able to specify the menu just like I do on the forms.
Never mind, I figured it out. I'm still somewhat new with Access. I removed the undesired functions from the "Query Datasheet" menu. I thought it was the same one as the "Query Design" menu.