I created a command button that will perform a search on the text selected in a combo box, but it is not working. I'm trying to answer the below questions:
Below is the code I typed:
Thanks!
Find What: cboTypeofAddressID (the text from the Combo Box)
Look in: sfrmAddress
Match: Whole Field
Search: All
Match Case and Search Fields As Formatted
Look in: sfrmAddress
Match: Whole Field
Search: All
Match Case and Search Fields As Formatted
Below is the code I typed:
Private Sub cmdAddType_Click()
DoCmd.FindRecord "Me.cboTypeofAddressID", , True, , True
End Sub
Any suggestions on how to get this to work?DoCmd.FindRecord "Me.cboTypeofAddressID", , True, , True
End Sub
Thanks!