Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion External data source / MS Query Command Text
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Dick Kusleika  
View profile   Translate to Translated (View Original)
 More options 8 Mar 2007, 21:12
Newsgroups: microsoft.public.excel.querydao
From: Dick Kusleika <dkusle...@gmail.com>
Date: Thu, 08 Mar 2007 15:12:51 -0600
Local: Thurs 8 Mar 2007 21:12
Subject: Re: External data source / MS Query Command Text
On Mon, 5 Feb 2007 16:04:01 -0800, Allen_N

<All...@discussions.microsoft.com> wrote:
>When I Refresh the data source (which is a view in an Access ADP) the columns
>are returned to my spreadsheet in the wrong order.

>By default, the Command Text window contains simply:

>   "Availability"."dbo"."vwShortagesByItem"

>I tried changing Command Type to 'SQL' and entering:

>   SELECT  ItemNo, Description, Commodity_Group, Nat_Rank, Avg_Cost,
>   Net_Ordered, Net_Supplied, Net_Shortage, Occurences, Branches,
>   Customers  FROM  Availability.dbo.vwShortagesByItem

>but the columns are returned in the order:

>   ItemNo, Commodity_Group, Nat_Rank, Avg_Cost, Net_Ordered, Net_Supplied,
>   Net_Shortage, Occurences, Branches, Customers, Description

Allen:  In Range Properties, uncheck the Preserve Columns check box.
See here

http://www.dailydoseofexcel.com/archives/2004/06/02/add-new-column-to...

--
Dick Kusleika
Microsoft MVP-Excel
http://www.dailydoseofexcel.com


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google