I'm a beginner to ASP/SQL and I just can't seem to figure out what's wrong with this SQL statement where I try to update the column "proj1" in the table "hours" with the integer "P1". I keep getting "SQL statment error"!?
sql = "UPDATE hours FIELDS (proj1) VALUE ('"&p1&"') WHERE (Ar="& Datepart("yyyy",Date) &" AND Week="& Session("Week"
&" AND Namn='" & Session("Login"
& "');"
/fredde
sql = "UPDATE hours FIELDS (proj1) VALUE ('"&p1&"') WHERE (Ar="& Datepart("yyyy",Date) &" AND Week="& Session("Week"
/fredde