rainman,
I cannot see the difference :mad:
here is mine:
Code
............
if nz(DLookup("[Travel_placesID]", "[travel_places]",""[travelfrom]="'"& Forms![form_name]!form_field_from] &"'"AND [travelto]="'"& Forms![form_name]!form_field_to]"'"),0)<>0 then msgbox "A record Exists"
...