does anyone know a way to make a button to refresh a form. this is to avoid having to close the form and re-open it. i'm very new to access so please be gentle. thanks!
hi,Cheers
i have form(order) with combobox(suppliers)
I make on duble clik on combobox is open new form...so there i enter new suplier and on exit button i this code:
------------- start code------------
Private Sub cmbExit_Click()
On Error GoTo Err_cmbExit_Click
DoCmd.Close
Forms![Order].Refresh
Exit_cmbExit_Click:
Exit Sub
Err_cmbExit_Click:
MsgBox Err.Description
Resume Exit_cmbExit_Click
End Sub
----------end code--------------
So when i look in my combo box new supplier is there!!!!
I think same you can do with your main forme.If I understud correctly. Fule
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.