I have put this code - from this queston
http://www.experts-exchange.com/Microsoft/Development/MS_Access/Q_24858047.html?sfQueryTermInfo=1+form+pop+upBut used it in the on current event of the main form:
Dim strLinkCriteria As String ' to keep pop up quote items in sync with the quoteID
Dim stDocName As String
stDocName = "sfrmQuoteCostingItem"
stLinkCriteria = "[QC_quoteID]=" & Me![txtQ_quoteID]
If CurrentProject.AllForms(st
DocName).I
sLoaded = False Then
DoCmd.OpenForm stDocName
End If
Forms(stDocName).Filter = ""
Forms(stDocName).Filter = stLinkCriteria
Forms(stDocName).FilterOn = True
So far so good but I am not sure I will run into difficulties using a pop up form.
Lou