Originally Posted by
aytee111
Post the SQL for the query I spoke of in post #13.
The field you are trying to reference is on the main part of the form, not on the subform.
- open form
- filter on quote number (in the OpenForm statement)
- use quote number as link to subform
- subform will show records for that quote number
Tab pages have no part to play in this, you can leave that out for this issue.
In post #11 I presumed that the links had been fixed since the original posting of your db - is that a correct assumption?
The WHERE statement from the query after inputting criteria and switching to SQL view reads
Code:
WHERE (((qryProjectDetails.QuoteNumber)="16072583B"));
I don't know, maybe I am just dense, or tired.. but I do not see how this is any different than the code I am putting in VBA for lstResults_DblClick event
Code:
DoCmd.OpenForm "frmTabbed", , , "qryProjectDetails.QuoteNumber = ' & Me.lstResults.Column() & '"
When you say Use QuoteNumber as link to subform- You mean make sure that the "Link Master Fields" and "Link Child Fields" are both equal to QuoteNumber for all three tabs, correct? If so, that is how it is set up now.
Also, yes, #11 is working fine now.
Thank you again!!