Private Sub Command35_Click ()
MsgBox (BestSoundex2([LNAME], 6))
DoCmd.RunSQL "UPDATE [T-PERS] SET [SX2] = (BestSoundex2([LNAME],
6))"
End Sub
The Msgbox displays just fine, but the SQL statement gives the
following error:
Undefined Function 'BestSoundex2' In expression
I'm looking to fill my existing table's SX2 field with a soundex
functions values.
I used this once before and it worked fine. The msgbox works.
Can anyone see whats wrong here???
MsgBox (BestSoundex2([LNAME], 6))
DoCmd.RunSQL "UPDATE [T-PERS] SET [SX2] = (BestSoundex2([LNAME],
6))"
End Sub
The Msgbox displays just fine, but the SQL statement gives the
following error:
Undefined Function 'BestSoundex2' In expression
I'm looking to fill my existing table's SX2 field with a soundex
functions values.
I used this once before and it worked fine. The msgbox works.
Can anyone see whats wrong here???
Comment