Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to unhide columns in the query

Status
Not open for further replies.

HLPCH

IS-IT--Management
Jul 12, 2004
47
US
I have a query which is run by couple of users. some of them would hide certain fields before exporting it to excel. When they close the query the fields do not unhide themselves and next time when the users logs in they are not able to see all the fields.

Is there anyway i could prevent someone from hiding the fields or have some code behind the form to unhide all fiels before they close the query?

Thanks in advance!
 
You can set the query properties to OutputAllFields = Yes.
This means that all fields will always be output irrespective of what is shown in the grid.
However if you want your users to be able to select some fields then I suggest that give them a query of their own to play with and not a query which matters to the application.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top