ClaraBarton
Registered User.
- Local time
- Today, 10:13
- Joined
- Oct 14, 2019
- Messages
- 578
I've attached a file with a form that has 3 subforms. #3 (subBooks) on the form allows me to select a record for the detail below, but the selection arrow does not move. I think it has to do with the current event on the first form (child0) but I don't know how to fix it. On the opening menu, select Edit Lists.
I would also like to know where to put a requery when the #4 (subDetail) form is edited. For the author sub form (lstsubsubAuthor) I've used
but it doesn't work. None of the clear (X) on the combo's seem to work with after update either.
Am I asking too much? I'm sorry the file seems large. I limited the books to just A's but it didn't change a lot.
Code:
Private Sub Form_Current()
Dim frmBooks As Form
Set frmBooks = Forms.lstfrmEdit!subBooks.Form
If Not IsNull(AuthorID) Then
frmBooks.Filter = "AuthorIDFK = " & Me.AuthorID
frmBooks.FilterOn = True
Else
frmBooks.Filter = ""
End If
End Sub
Code:
Private Sub Form_Current()
Me.cboAuthor.Requery
Forms(Me.Parent.Parent.Name).Child0.Requery
End Sub
Am I asking too much? I'm sorry the file seems large. I limited the books to just A's but it didn't change a lot.