(I have seen posts on this before, but never a concrete solution...)
I've got a tab control running off my main form (frmStatusDCPs)...for simplicity, two tab pages, each with a subform on it:
The first tab, has a subform (frmStatusDCNs) which is linked directly to the main (master-child relationship).
The second tab's subform (frmStatusDocuments) is NOT linked to main -- but it's recordsource is a query through which i pass variables from the FIRST tab/subform.
Problem: I want to requery the second tab's subform when the record changes on the first tab.
I've tried requery for the tab's OnClick, the 2nd subform's OnActivate, the 1st subform's AfterUpdate...none respond
Forms!frmStatusDCPs!frmStatusDocuments.Requery
(But when i add a button on the main, requery on the OnClick using the line below, it works
)
Me.frmStatusDocuments.Requery
any ideas?
I've got a tab control running off my main form (frmStatusDCPs)...for simplicity, two tab pages, each with a subform on it:
The first tab, has a subform (frmStatusDCNs) which is linked directly to the main (master-child relationship).
The second tab's subform (frmStatusDocuments) is NOT linked to main -- but it's recordsource is a query through which i pass variables from the FIRST tab/subform.
Problem: I want to requery the second tab's subform when the record changes on the first tab.
I've tried requery for the tab's OnClick, the 2nd subform's OnActivate, the 1st subform's AfterUpdate...none respond
Forms!frmStatusDCPs!frmStatusDocuments.Requery
(But when i add a button on the main, requery on the OnClick using the line below, it works
Me.frmStatusDocuments.Requery
any ideas?