CharlieT302
Instructor
Hi,
The formula below is designed to see if the value of a form field exists in a table. The Field in question (Care_ID) is a text field in the underlying table. The name of the form control that references it has the same name as the field and there are no other fields with a conflicting name.
If DLookup("[Care_ID]", "tbl_Manager", "[Care_ID]='" & Me.[Care_ID] & "'")
The rest of the formula simple deletes the record from the form as long as the value is not found.
I receive the error:
Run Time 13
Type Mismatch
It "IS" text field. Why the Type Mismatch?
Thanks
The formula below is designed to see if the value of a form field exists in a table. The Field in question (Care_ID) is a text field in the underlying table. The name of the form control that references it has the same name as the field and there are no other fields with a conflicting name.
If DLookup("[Care_ID]", "tbl_Manager", "[Care_ID]='" & Me.[Care_ID] & "'")
The rest of the formula simple deletes the record from the form as long as the value is not found.
I receive the error:
Run Time 13
Type Mismatch
It "IS" text field. Why the Type Mismatch?
Thanks