Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / November 2007

Tip: Looking for answers? Try searching our database.

How do I run a query that displays field names and not captions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kristine - 20 Nov 2007 21:09 GMT
How do I run a query that displays field names and not captions
Allen Browne - 20 Nov 2007 23:12 GMT
The simplest solution would be to open the table in design view, and clear
the Caption property for your fields.

If that doesn't work, you could alias the fields in the query. For example
if you have FirstName showing as First Name (with a space), and you want it
to actually show as FirstName, switch the query to SQL View (View menu), and
change the SQL statement from:
   SELECT Table1.FirstName, ...
to:
   SELECT Table1.FirstName AS FirstName, ...

Signature

Allen Browne - Microsoft MVP.  Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

> How do I run a query that displays field names and not captions
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.