ok i have a datasheet and on the datasheet is the company name, when i click the company name a form loads with the detials of the company
is the code i use to run this, how ever after i alter the datasheet (change the record source using a search code,) it tells me that it cant run the code due to a run time error 2424 "the expression has a field control or propity name that database cant find
any ideas have i done something wrong
Code:
Private Sub Company_Name_Click()
DoCmd.OpenForm "frmCustomerDetails", , , "[ID]=" & Me.ID
End Sub
any ideas have i done something wrong