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
 
Allen_N  
View profile   Translate to Translated (View Original)
 More options 6 Feb 2007, 00:04
Newsgroups: microsoft.public.excel.querydao
From: Allen_N <All...@discussions.microsoft.com>
Date: Mon, 5 Feb 2007 16:04:01 -0800
Local: Tues 6 Feb 2007 00:04
Subject: External data source / MS Query Command Text
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

Thanks!


    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