K
kaosyeti
hey... i don't code a whole lot but i'm getting a funny reaction from my
access 2003 from a dlookup. here's my line of code:
DLookup("1v2", "tblpicks", "[week] = 1 and [player] = " & Chr(34) & Me.
txtboxplayer & Chr(34) & " and [year] = 2006")
this is a table where 1v2 is a yes/no field, currently valued at 'no' or '0'.
txtboxplayer is a text field with a first and last name (with a space between,
if that matters) and week and year are just integers.
the puzzling part is that it keeps telling me that i'm missing an operator
and if i put that exact line of code into my immediate window, it tells me
that i'm missing an equal sign. i don't see where, but i am REALLY tired
right now. am i crazy? thanks for looking.
access 2003 from a dlookup. here's my line of code:
DLookup("1v2", "tblpicks", "[week] = 1 and [player] = " & Chr(34) & Me.
txtboxplayer & Chr(34) & " and [year] = 2006")
this is a table where 1v2 is a yes/no field, currently valued at 'no' or '0'.
txtboxplayer is a text field with a first and last name (with a space between,
if that matters) and week and year are just integers.
the puzzling part is that it keeps telling me that i'm missing an operator
and if i put that exact line of code into my immediate window, it tells me
that i'm missing an equal sign. i don't see where, but i am REALLY tired
right now. am i crazy? thanks for looking.