jaaret
Instructor
- Jun 19, 2002
- 171
I have a subform linked to a main form by AuthorID. I am attempting to unlink the form when I populate a search field. The first part of this If statement works but the Else part fails. I've tried LinkMasterFields = Null.
If IsNull(Me.txtQuoteSearch) Then
Form_frmFormName.fsubQuotes.LinkMasterFields = "txtAuthorID"
Else
Form_frmFormName.fsubQuotes.LinkMasterFields = ""
End If
Me.fsubQuotes.Requery
What am I missing?
Thanks in advance,
Jaaret
If IsNull(Me.txtQuoteSearch) Then
Form_frmFormName.fsubQuotes.LinkMasterFields = "txtAuthorID"
Else
Form_frmFormName.fsubQuotes.LinkMasterFields = ""
End If
Me.fsubQuotes.Requery
What am I missing?
Thanks in advance,
Jaaret