I have managed to fix this when showing records in datasheets using queries, using the Left Join, rather than inner join.
But...
I have a candidate table and a qualification table. Each candidate can have more than one qualification, but can also have no qualifications.
I have a Tab control (form) showing candidate information on one tab and the qualifications in another.
I have combo boxes to find particular users but if they dont have a child (qualification) record they are not found.
Is there any way to either:
-create a blank child record when a new parent record is created?
-show the record, regardless of the child record being empty?
Here is the code from my combobox AfterUpdate:
Expand|Select|Wrap|Line Numbers
- Dim rs As DAO.Recordset
- If Not IsNull(Me.cmbCandidate) Then
- If Me.Dirty Then
- Me.Dirty = False
- End If
- Set rs = Me.RecordsetClone
- rs.FindFirst "[CandidateID] = " & Me.cmbCandidate
- If rs.NoMatch Then
- MsgBox "Not found: filtered?"
- Else
- Me.Bookmark = rs.Bookmark
- End If
- Set rs = Nothing
- End If