I have a button called btnVendor that I want on click to open the form [Vendor Details] where the vendor is = value of the current record.
So, I attempted this:
Currently when I click the button it doesn't do anything at all. How can I get it to open the form where the vendor matches what is in the current record?
Many thanks!
So, I attempted this:
Code:
Private Sub btnVendor_Click()
DoCmd.OpenForm [Vendor Details], , , "Issues.Vendor = Vendor.ID"
End Sub
Currently when I click the button it doesn't do anything at all. How can I get it to open the form where the vendor matches what is in the current record?
Many thanks!