Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
John B
 
Posts: n/a
Default Executing queries stored in database in Excel

Hi,

I have a database with a query like:

Select MonthJoined, GetUserName(UserID), Title, DoB
from UserTable

GetUserName is a user defined function that retrieves user name based on
UserID

I want to use this query in excel as data source
via pivot table -- Getdata -- MS Query

but MS Query could not execute GetUserName() function.

Is there any way around this?

I would prefer not to create another query in Excel - maintain all queries
in Access rather than Excel.

JB
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
TRYING TO SET UP EXCEL SPREADSHEET ON MY COMPUTER MEGTOM New Users to Excel 5 October 27th 05 03:06 AM
Excel Drop Down box or check box data to Excel Database TotallyConfused Excel Discussion (Misc queries) 3 October 26th 05 05:36 PM
Excel Queries using Access data baconroll Excel Discussion (Misc queries) 1 October 12th 05 05:19 PM
Retrieving data from database (MS Sql Server) to Excel nwhan Excel Discussion (Misc queries) 0 July 22nd 05 09:35 AM
Excel error while trying to import data from an Access database - MSQRY32.exe has generated errors X_HOBBES Excel Discussion (Misc queries) 0 March 15th 05 06:46 PM


All times are GMT +1. The time now is 09:50 AM.

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

About Us

"It's about Microsoft Excel"