hello and heres yet another dlookup question, its annoying me and ive tried a few different variations.
its a dlookup with 2 criteria, i cant seem to resolve why i keep getting data type mismatch error,
here my bit of code
If Counter = DCount("[Alias]", "[tblAlias]", "[Alias]='" & sNick & "' And [UserID]='" & sID & "'") > 0 Then
no doubt some1 will solve it within 2secs
, im positive the problem is to do with the sID which holds a userid, i know its prefixed with a s but its actualy a double not a string
any help much appreciated
scoobs
its a dlookup with 2 criteria, i cant seem to resolve why i keep getting data type mismatch error,
here my bit of code
If Counter = DCount("[Alias]", "[tblAlias]", "[Alias]='" & sNick & "' And [UserID]='" & sID & "'") > 0 Then
no doubt some1 will solve it within 2secs

any help much appreciated
scoobs