I am having an issue using a Dlookup this is the line that it is failing on.
If DLookup("loc_code", "SOSLOCS", "loc_code = Text4") ThenIt seems to be doing what i want if the code i put in doesn't match, but if it does match whats in the SOSLOCS query then it gives me a type mismatch error. Any...