Expand|Select|Wrap|Line Numbers
- Private Sub AM_Best_Rating_Click()
- Me.AM_Best_Rating = DLookup("[AMBestRating]", "ICNameRating", "[ICName]=" & Me.Insurance_Company)
- End Sub
ICNameRating is the name of the table
ICName is the the name of the reference value for the AM_Best_Rating in the table. (I have a table which lists the Insurance Company and its Rating)
Me.Insurance_Company is the reference value in the form.
Upon entering an insurance company name in the form, I would like the person to be able to click on the AM Best Rating box and for it to be automatically input.
I get the following error: Indentifier under cursor is not recognized