D
DS
Whats Stopping the "AddItems_QBF Form from closing....Its just staying
there behind the form that it opens, The Parent Form.
Public Function QBFDoHide(frm As Form)
Dim strSQL As String
Dim strParent As String
strParent = adhGetItem(frm.Tag, "Parent") & vbNullString
strSQL = DoQBF(frm.Name, False)
If Len(strParent) > 0 Then
DoCmd.OpenForm FormName:=strParent, View:=acNormal,
WhereCondition:=strSQL
End If
DoCmd.Close , "AddItems_QBF"
End Function
Thanks
DS
there behind the form that it opens, The Parent Form.
Public Function QBFDoHide(frm As Form)
Dim strSQL As String
Dim strParent As String
strParent = adhGetItem(frm.Tag, "Parent") & vbNullString
strSQL = DoQBF(frm.Name, False)
If Len(strParent) > 0 Then
DoCmd.OpenForm FormName:=strParent, View:=acNormal,
WhereCondition:=strSQL
End If
DoCmd.Close , "AddItems_QBF"
End Function
Thanks
DS