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 Excel » Links and Linking
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

pass parameter to access query



 
 
Thread Tools Display Modes
  #11  
Old November 29th, 2004, 02:58 PM
Bill Manville
external usenet poster
 
Posts: n/a
Default

Jamie Collins wrote:
You can most definitely *execute* a Jet (MS Access) stored procedure
(stored Query) using MS Query in Excel without VBA code.


OK.
Thanks for the clarification.
I must give it a whirl.
Pity my clients are all 2002 at latest....but one day...

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup

  #12  
Old November 30th, 2004, 08:57 AM
Jamie Collins
external usenet poster
 
Posts: n/a
Default

Bill Manville wrote in message

Pity my clients are all 2002 at latest


Why?

You can *create* the procedure within MS Access using the PROCEDURE
syntax e.g. I just tested your example

PROCEDURE MyProc [argSiteID] INTEGER;
SELECT * FROM Sites WHERE Sites=argSiteID

in Access95 and it works fine and will work for all subsequent
versions of MS Access.

You can *call* the procedure within MS Query using ODBC's call syntax.
Again, tested fine in Excel95 and above.

Jamie.

--
 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
WORD XP mail-merge FAILS using ACCESS Query SueMackay Mailmerge 1 November 23rd, 2004 01:03 PM
Here's a shocker Mike Labosh General Discussion 2 October 26th, 2004 05:04 PM
Merging with an Access 2002 parameter query Trevor Running & Setting Up Queries 4 August 31st, 2004 01:25 PM
parameter query from data access page Alice Dawson New Users 0 August 12th, 2004 12:37 AM
Display Parameter from Form on Report sara Setting Up & Running Reports 10 July 19th, 2004 04:54 PM


All times are GMT +1. The time now is 11:49 AM.


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