I have researched online a bit about requerying a sub form that I still cannot get past.
I have tried many "hacks" to the problem with no resolution.
What I know does not work -
With Forms!frmContracts_SW!sfDetail.Form.Form
.RecordSource = .RecordSource
End With
Forms!frmContracts_SW!sfDetail.Form.Requery
Forms!frmContracts_SW!sfDetail.Form.Refresh
Forms!frmContracts_SW!sfDetail.Form.Repaint
Forms!frmContracts_SW!sfDetail.Form.ReCalc
Can anyone help wit this? I have a form open for a user to make a chance directly in the DB. When they are done they can hit the close button where I want the subform on the previous form to refresh. The DB change is happening but everything seems to be one step behind for instance.
Using numbers -
If I start with num 1 and change it to num 5 nothing happens. If I go back in and change 5 to 3 then 5 will now appear in my refresh.
I have tried many "hacks" to the problem with no resolution.
What I know does not work -
With Forms!frmContracts_SW!sfDetail.Form.Form
.RecordSource = .RecordSource
End With
Forms!frmContracts_SW!sfDetail.Form.Requery
Forms!frmContracts_SW!sfDetail.Form.Refresh
Forms!frmContracts_SW!sfDetail.Form.Repaint
Forms!frmContracts_SW!sfDetail.Form.ReCalc
Can anyone help wit this? I have a form open for a user to make a chance directly in the DB. When they are done they can hit the close button where I want the subform on the previous form to refresh. The DB change is happening but everything seems to be one step behind for instance.
Using numbers -
If I start with num 1 and change it to num 5 nothing happens. If I go back in and change 5 to 3 then 5 will now appear in my refresh.