View Single Post
  #2  
Old May 17th, 2010, 12:46 PM posted to microsoft.public.access.queries
Bob Barrows
external usenet poster
 
Posts: 475
Default Query result shows all fields

sunberries wrote:
I have not had this issue before with the old .mdb but with 2007
Access , when I am creating or editing a query in design mode, I
click or drag only the field names I need, delete all others i dont
need, but when I click on the datasheet view - everything else in the
tables I used on the query appears - and I have to use hide options
to hide them. Its not that hard at first but when you keep doing it
over and over it tends to get frustrating. How do I get the query to
show only the fields I lined up in the design mode?


There is a property, whose default should be False, called "Output All
Fields", that you must have inadvertantly checked somewhere along the way.
It's visible in the Query properties so it can be set on a query-by-query
basis. It's also visible on the Tables/Queries tab in ToolsOptions where it
can be set globally.

I've never used A2007 ... is the default True in A2007 (stupid!)?

--
Microsoft MVP - ASP/ASP.NET - 2004-2007
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"