Is there any difference in doing:
(Preferred method)
If IsNull(DLookup("username", "usercolours", "username = '" & username & "'")) = False Then
OR
Dim checkuser As string
checkuser = DLookup("username", "usercolours", "username = '" & username & "'")
If isnull(checkuser) = False then
(Preferred method)
If IsNull(DLookup("username", "usercolours", "username = '" & username & "'")) = False Then
OR
Dim checkuser As string
checkuser = DLookup("username", "usercolours", "username = '" & username & "'")
If isnull(checkuser) = False then