hi
i have a form for insert students datiles
on the form is failed name "studentid"(text failed) that have index
what i need is when typing a new "id" the code well search if the "id" is already exists
my code
i have a form for insert students datiles
on the form is failed name "studentid"(text failed) that have index
what i need is when typing a new "id" the code well search if the "id" is already exists
my code
Code:
If IsNull(DLookup("[studentid]", "students", Me.studentid <> 0)) Then
msgbox = "No Record Found"
Else
msgbox ="my msg"
End If