Query results in datasheet with X grayed out

D

Dorian

I'm opening a query and the datasheet window has the 'x' grayed out so the
user cannot close the window without exiting the database.
query is opened with:
DoCmd.OpenQuery Me!cmbQueries, , acReadOnly
Closebutton property on the form is set to YES, however is set to NO on some
other forms.
-- Dorian
"Give someone a fish and they eat for a day; teach someone to fish and they
eat for a lifetime".
 
D

Dorian

It's a query being opened via a command button on a form.
-- Dorian
"Give someone a fish and they eat for a day; teach someone to fish and they
eat for a lifetime".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top