G
Guest
i have a SQL procedure that uses 2 dates (fromdate, todate) as variables
I can sucessfully run the SQL Procedure when i supply the fromdate & todate within MS Query
However, MS Query won't accept the ? as a parameter marker for the Fromdate, Todate
I want individuals users to key in their own fromdate & todate based on what range of data they want to view
MS Query Help indicates this should work by replacing the actual Fromdate & ToDate with question marks (?), but it doesn't. Is there a setting or an option that needs to be turned on?
Or some other way of running a procedure by supplying the parameters from within excel?
I can sucessfully run the SQL Procedure when i supply the fromdate & todate within MS Query
However, MS Query won't accept the ? as a parameter marker for the Fromdate, Todate
I want individuals users to key in their own fromdate & todate based on what range of data they want to view
MS Query Help indicates this should work by replacing the actual Fromdate & ToDate with question marks (?), but it doesn't. Is there a setting or an option that needs to be turned on?
Or some other way of running a procedure by supplying the parameters from within excel?