A
Alain
Hi to all,
I am getting this error 2162 A macro set to one of the current field's
properties failed because of an error in a FindRecord action argument
Can anyone explain to me what this means, I have look at the help file and
follow their example but cannot figure it out.
I also tried different ways of the findwhat argument but no success
Private Sub Combo9_AfterUpdate()
Dim strCity As String
strCity = Me.Combo9.Value
DoCmd.FindRecord strCity, acEntire, False, acSearchAll, , , True
(other tries)
DoCmd.FindRecord "& strCity &",.......
DoCmd.FindRecord "' & strCity & '",.......
DoCmd.FindRecord Me.Combo9,.......
End Sub
Thanks
Alain
I am getting this error 2162 A macro set to one of the current field's
properties failed because of an error in a FindRecord action argument
Can anyone explain to me what this means, I have look at the help file and
follow their example but cannot figure it out.
I also tried different ways of the findwhat argument but no success
Private Sub Combo9_AfterUpdate()
Dim strCity As String
strCity = Me.Combo9.Value
DoCmd.FindRecord strCity, acEntire, False, acSearchAll, , , True
(other tries)
DoCmd.FindRecord "& strCity &",.......
DoCmd.FindRecord "' & strCity & '",.......
DoCmd.FindRecord Me.Combo9,.......
End Sub
Thanks
Alain