BE19
cornfuzed
- Local time
- Today, 15:49
- Joined
- Mar 13, 2007
- Messages
- 12
I developed a query which which searches for the closest value. I used dlookup() in the textbox to display that value. It is displaying however only the value of the very first entry, regardless of which record it is on.
Textbox query in form:
=DLookUp("[Aft1_query]![tbl_Aft1_ AWU]","Aft1_query")
What do I need to do so that when I toggle through the enties in the form, I get the query for that record? I tried adding a criterion such as =DLookUp("[Aft1_query]![tbl_Aft1_ AWU]","Aft1_query","[W&B]![ID]=[Aft1_query]![ID]")
Where W&B is the current form.
Ideas?
TIA
Textbox query in form:
=DLookUp("[Aft1_query]![tbl_Aft1_ AWU]","Aft1_query")
What do I need to do so that when I toggle through the enties in the form, I get the query for that record? I tried adding a criterion such as =DLookUp("[Aft1_query]![tbl_Aft1_ AWU]","Aft1_query","[W&B]![ID]=[Aft1_query]![ID]")
Where W&B is the current form.
Ideas?
TIA