You can use DAO code to change the SQL of a saved query such as a p-t.
Currentdb.QueryDef("qsptMyPassthrough").SQL = "Select...Where fName ='" &
Forms!frmName.txtFName & "'"

Signature
Duane Hookom
MS Access MVP
> SUBJECT: PARAMETERIZED PASS-THROUGH QUERY using textbox
> on form.
[quoted text clipped - 10 lines]
>
> CT
CT - 08 Oct 2004 18:04 GMT
Thank you for the help.
>-----Original Message-----
>You can use DAO code to change the SQL of a saved query such as a p-t.
[quoted text clipped - 17 lines]
>
>.