Your question makes no sense: a query is a tool to extract/combine data from tables, and a form is a tool to display a recordset, irrespective of how it was originally extracted.
Depending on what your form is doing, ie creating an sql string by some method or another you can replace the sql statement of a query using the QueryDefs collection. Is that what you are thinking about?