Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using a variable value from a function in a query

Status
Not open for further replies.

princessk1

Programmer
Feb 28, 2002
74
CA
I have created a function that prompts the user for a number and stores their input into a variable. I want to use this variable in a query, but the report still prompts for a value for the query. I have made the variable public. Any ideas would be appreciated. Thanks.
 
hi,

If the value returned by your function is to replace a parameter just replace the [ParameterX] by =FunctionName()

but I feel this is not all you want to know...

let me know

Salvatore Grassagliata
GrassagliataS@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top