Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
No Name
 
Posts: n/a
Default Microsoft Query sometimes adds trailing spaces to fields

Hello,

I'm using Microsoft Query to return data from a SQL view to Excel. This
works fine except that when including that data into a pivot table I notice
that one field in particular is being represented both with trailing spaces
and without. The view does not (currently) trim the field and so Microsoft
Query must be interpreting the field in different ways.

I could amend my view to resolve it for this field, but if it is happening
for one field my concern is that it may also happen on other fields, so a
global fix is the ideal solution.

Has anyone else seen this before, or more importantly, does anyone know how
to resolve this issuse without 'just amending my view'?

Cheers,

<M
  #2   Report Post  
Posted to microsoft.public.excel.misc
No Name
 
Posts: n/a
Default Microsoft Query sometimes adds trailing spaces to fields

My mistake!

It's the data in the table that is corrupt (SQL Analyser trims off trailing
spaces when displaying data!) not the way that MS Query works.

Thanks for looking.

<M
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing trailing spaces in a spreadsheet Kamran Excel Discussion (Misc queries) 6 December 8th 06 10:40 PM
Removing leading/trailing spaces Chuda Excel Discussion (Misc queries) 2 September 12th 06 05:20 PM
REMOVING TRAILING SPACES Tris Excel Discussion (Misc queries) 5 August 29th 06 04:36 PM
remove trailing spaces les8 Excel Discussion (Misc queries) 4 January 20th 06 04:55 PM
Trailing spaces in Pivot tables Fred Excel Worksheet Functions 1 May 6th 05 02:59 PM


All times are GMT +1. The time now is 04:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"