I have two SubFormS (SubA and SubB) SubB has a query as a record source.
I call the SubB from SubA and tell in to requery as follows:
Me.Parent![SubB].Requery
this is fine.
I need to detect if no matching records are found when SubB requeries, so that I can send a "Null" value to a text box. How can I detect (from SubA or SubB) if SubB returns no record matches when it requeries?
Something simlar to the following is what I'm looking at:
If Me.[QueryID] = ???? Then
Me.Parent!TxtBox = "null"
Else
Me.Parent!TxtBox = Me.[QueryID]
End If
Help!
I call the SubB from SubA and tell in to requery as follows:
Me.Parent![SubB].Requery
this is fine.
I need to detect if no matching records are found when SubB requeries, so that I can send a "Null" value to a text box. How can I detect (from SubA or SubB) if SubB returns no record matches when it requeries?
Something simlar to the following is what I'm looking at:
If Me.[QueryID] = ???? Then
Me.Parent!TxtBox = "null"
Else
Me.Parent!TxtBox = Me.[QueryID]
End If
Help!