A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Access query is renaming output fields - dreadfully inconvenient



 
 
Thread Tools Display Modes
  #1  
Old May 26th, 2004, 02:31 PM
JonR
external usenet poster
 
Posts: n/a
Default Access query is renaming output fields - dreadfully inconvenient

Hello,

I am running a select query with a lot of different output fields. These fields relate all information pertaining to a number of projects that may be new, closed, or in progress.

Three of these fields are Requestor, Engineer, and Project Lead. These names usually come from the same table in the data records.

In my query design I defined the output fields like so:

Requestor: [HumanResource].[FirstName]&" "&[HumanResource].[LastName]
Eningeer: [HumanResource].[FirstName]&" "&[HumanResource].[LastName]
Project Lead: [HumanResource].[FirstName]&" "&[HumanResource].[LastName]

When I run the query, all of the above field names are changed to "Project Lead"; there are no "Requestor" or "Engineer" field names. The actual data is correct.

Obviously, I can deal with this, since I know where the output is going, but I'd rather have the right field names.

Thanks in advance.
  #2  
Old May 26th, 2004, 02:53 PM
Duane Hookom
external usenet poster
 
Posts: n/a
Default Access query is renaming output fields - dreadfully inconvenient

Check the "Caption" property of the fields/columns in the query.

--
Duane Hookom
MS Access MVP
--

"JonR" wrote in message
...
Hello,

I am running a select query with a lot of different output fields. These

fields relate all information pertaining to a number of projects that may be
new, closed, or in progress.

Three of these fields are Requestor, Engineer, and Project Lead. These

names usually come from the same table in the data records.

In my query design I defined the output fields like so:

Requestor: [HumanResource].[FirstName]&" "&[HumanResource].[LastName]
Eningeer: [HumanResource].[FirstName]&" "&[HumanResource].[LastName]
Project Lead: [HumanResource].[FirstName]&" "&[HumanResource].[LastName]

When I run the query, all of the above field names are changed to "Project

Lead"; there are no "Requestor" or "Engineer" field names. The actual data
is correct.

Obviously, I can deal with this, since I know where the output is going,

but I'd rather have the right field names.

Thanks in advance.



  #3  
Old May 26th, 2004, 03:17 PM
Allen Browne
external usenet poster
 
Posts: n/a
Default Access query is renaming output fields - dreadfully inconvenient

First thing to try would be disabling the Name AutoCorrect check boxes
under:
Tools | Options | General.

For details on the dozen or more problems associated with this misfeature,
see:
http://allenbrowne.com/bug-03.html

If that does not solve the problem, you have a corruption.
To get Access to rebuild your database:
1. Create a new (blank) database.
2. Turn off Name AutoCorrect.
3. Import everything: File | Get External | Import.

--
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.

"JonR" wrote in message
...

I am running a select query with a lot of different output fields. These

fields relate all information pertaining to a number of projects that may be
new, closed, or in progress.

Three of these fields are Requestor, Engineer, and Project Lead. These

names usually come from the same table in the data records.

In my query design I defined the output fields like so:

Requestor: [HumanResource].[FirstName]&" "&[HumanResource].[LastName]
Eningeer: [HumanResource].[FirstName]&" "&[HumanResource].[LastName]
Project Lead: [HumanResource].[FirstName]&" "&[HumanResource].[LastName]

When I run the query, all of the above field names are changed to "Project

Lead"; there are no "Requestor" or "Engineer" field names. The actual data
is correct.

Obviously, I can deal with this, since I know where the output is going,

but I'd rather have the right field names.

Thanks in advance.



  #4  
Old May 26th, 2004, 03:31 PM
JonR
external usenet poster
 
Posts: n/a
Default Access query is renaming output fields - dreadfully inconvenient

That worked -- Thanks loads!
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:28 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.