Try something like this:
=DLookUp ("[ostebedømmelse produktfejl]", "[highlight][[/highlight]Karakter bredde[highlight]][/highlight]", "[Produktfejl]=" & Forms![Formular bedømmelse]![bedømmelse underformular][highlight].Form[/highlight]![fejl ydre])
Provided that:
[Karakter bredde] is the name of a Table or Query
[ostebedømmelse produktfejl] is the name of a column in the above table/query
[Produktfejl] is the name of a numeric column in the above table/query
[bedømmelse underformular] is the name of the control hosting the subform
If [Produktfejl] isn't defined as numeric, try this:
=DLookUp ("[ostebedømmelse produktfejl]", "[highlight][[/highlight]Karakter bredde[highlight]][/highlight]", "[Produktfejl]=[highlight]'[/highlight]" & Forms![Formular bedømmelse]![bedømmelse underformular][highlight].Form[/highlight]![fejl ydre][highlight] & "'"[/highlight])
Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244