I have a report called Policies and within the report is a field called Policy ID. I want to click on the Policy ID field in the report and have that policy's form automatically open. I had the following code:
Option Compare Database
Private Sub Policy_Number_Click()
DoCmd.OpenForm "Policy Management"
End Sub
Which opens the form but not to the specific policy record. Help please.
Option Compare Database
Private Sub Policy_Number_Click()
DoCmd.OpenForm "Policy Management"
End Sub
Which opens the form but not to the specific policy record. Help please.