Code:
Private Sub Form_Current()
' ----- I need to find the latest Contact Log entry for this matter
Me.CLogIdFld = DMax("MatterContactsMadeId", "[MatterContactsMade]", "[MatterId] = " & Me.MatterIdFld)
Me.DescriptionFld = DLookup("Description", "MatterContactsMade", "[MatterContactMadeId] = " & CLogIdFld)
End Sub
I get it on the '[MatterId] =' on the bold line above. Me.ClogIdFld = line
If I comment that one out I get it on the one that's not bold. Same error
Any help would be appreciated