D
DeVille
Hi
I have a sub form on a Tab in my main form,there is a
drop down box(Combo1) on the main form which I can use to
select a customer ID, which links the customer details in
the sub-form to the main form, the problem is that after
I have select the Customer ID, the customer details do
not appear strait away in the sub form, I have to go to
the next record then when I come back to that record and
the details have appeared in the sub form, if any one can
help me with some code to refresh the sub form when
make the selection in my combo box in the main form
thanks in advance.
I think it should be something like this? But I'm very
new to this
Private Sub Combo1_AfterUpdate()
Me!MainForm!SubForm.Refresh
End Sub
I have a sub form on a Tab in my main form,there is a
drop down box(Combo1) on the main form which I can use to
select a customer ID, which links the customer details in
the sub-form to the main form, the problem is that after
I have select the Customer ID, the customer details do
not appear strait away in the sub form, I have to go to
the next record then when I come back to that record and
the details have appeared in the sub form, if any one can
help me with some code to refresh the sub form when
make the selection in my combo box in the main form
thanks in advance.
I think it should be something like this? But I'm very
new to this
Private Sub Combo1_AfterUpdate()
Me!MainForm!SubForm.Refresh
End Sub