Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form DMin Code

Status
Not open for further replies.

xmeb

Technical User
Jun 5, 2013
89
The following code returns "#Name?" and I can't figure out what is wrong with it.

Code:
=DMin("[RoadNumber]","ResidencesSpecificTable","[RoadName] Like '*" & ME.ResidencesSpecificFormRoadNameTextBox & "*'")
 
If that is a control source, get rid of the Me.

Code:
=DMin("[RoadNumber]","ResidencesSpecificTable","[RoadName] Like '*" & ResidencesSpecificFormRoadNameTextBox & "*'")

Duane
Hook'D on Access
MS Access MVP
 
Duane:

That was it! It works fine now.

Thank you very much,

xmeb
 
xmeb, you are here at TT for a few months now, and I hope you get some good answers to your problems. Yet you did not show any recognition of appreciation to anybody who helped you by clicking on
[blue]
Like this post?
Star it!
[/blue]

This little action says: Thank you, as well as marks the post as helpful so others can easily find it, too.


Have fun.

---- Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top