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 Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Calling Parameter Query With SQL



 
 
Thread Tools Display Modes
  #1  
Old August 4th, 2004, 01:07 PM
ChrisM
external usenet poster
 
Posts: n/a
Default Calling Parameter Query With SQL

Hi,

I have a query in Access that requires a parameter. (ie when you run the
query in Access, it pops up a parameter box asking for the param value).

If I am calling this query from elsewhere (A report designer), is there a
way of passing the parameter into the query? I know how to do this with ADO
command and parameter objects, but it would seem that in this instance, the
only way so call the query is through a SQL string:

ie: SELECT * FROM MyQuery

Anyone got any ideas? FWIW, it is ActiveReports that I am using, so if
anyone knows how to call a query with parameters in ActiveReports, I would
be most grateful.

TIA,

ChrisM.

--
Please remove shoes to reply

But what ... is it good for?
- Engineer at the Advanced Computing Systems Division of IBM, 1968,
commenting on the microchip.


 




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
Function isn't available in expressions in query expression Reiner Harmgardt General Discussion 4 July 21st, 2004 09:30 AM
Report Based Upon Parameter Query with Form References Vincent DeLuca Setting Up & Running Reports 4 July 19th, 2004 01:55 AM
SQL Parameter Query Code & Nulls Ben Bayliss Running & Setting Up Queries 2 July 14th, 2004 03:20 AM
Table name as parameter in SQL query Art Running & Setting Up Queries 4 June 24th, 2004 01:17 PM
using combo boxes to select parameter for SQL query Dogbert Dilbert General Discussion 0 June 16th, 2004 01:45 PM


All times are GMT +1. The time now is 08:04 PM.


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