What is the needed vba to complete the below querydef using the query name inside a variable?
The ControlTipText property of all controls on an unbound form contains the query name associated with the specific control. Qdf and db are defined using DAO.
strQuery = ctl.ControlTipText
Set qdf = db.QueryDefs(<strquery>)