I need to use DoCmd.TransferText to output the results of a query. The query has 2 parameters that need to be set in order to run. I set them using the following
Set qdf = CurrentDb.QueryDefs("OptedOut")
qdf.Parameters("low") = "A"
qdf.Parameters("hi") = "Z"
and when I get the transfer text part of the program a prompt comes up asking for the values of the parameters. what do I do to prevent the prompt?
thanks
Kevcri

Set qdf = CurrentDb.QueryDefs("OptedOut")
qdf.Parameters("low") = "A"
qdf.Parameters("hi") = "Z"
and when I get the transfer text part of the program a prompt comes up asking for the values of the parameters. what do I do to prevent the prompt?
thanks
Kevcri
