Is your text box named PMRate, Weight1 or Weight 2? If so change it. Are the Weight1 and Weight2 text datatype or number. If text should be fine, if number then you need to remove the single quotes.
I took out the single quote and I dont get an error but it isnt doing anything now
=DLookUp("[PMRate]","RateGood","[Weight1] >=" & [Forms]![rates]![Weight] & " AND [Weight2] <= " & [Forms]![rates]![Weight] & ""
Well the DLookup syntax looks correct to me, did you misspell the name of the control itself? I notice that you typo'd weight as "weigth" twice in your post, perhaps you did that when you named the control?
Joe Miller
joe.miller@flotech.net
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.