I have 3 forms and for arguments sake I will call them A, B & C. Currently each form runs an individual query based on select criteria that can be found on the form. However the underlying query is exactly the same for each of the 3 forms.
Is there a way that I can build 1 single query that can be called by any of the 3 forms? At the moment I have to use 3 identical queries to be able to use fixed calling form names like the syntax "[Forms]![frmA]![selContact]" or "[Forms]![frmB]![selContact]" etc..
In essence I want 1 query that via a passed parameter knows what form to look on for its select criteria rather than my current clumsy hard coding of 3 queries. Is this possible?
Many thanks
Glenn
Is there a way that I can build 1 single query that can be called by any of the 3 forms? At the moment I have to use 3 identical queries to be able to use fixed calling form names like the syntax "[Forms]![frmA]![selContact]" or "[Forms]![frmB]![selContact]" etc..
In essence I want 1 query that via a passed parameter knows what form to look on for its select criteria rather than my current clumsy hard coding of 3 queries. Is this possible?
Many thanks
Glenn