I have the following statement which produces a syntax error. on the updatesql line. I don't see where my problem is??
<%
updatesql = "UPDATE FamilyInfo SET Address = '" & Request.Form("Address"
& "', " & "City = '" & Request.Form("City"
& "', " & "State = '" & Request.Form("State"
& "', " & "ZipCode = '" & Request.Form("ZipCode"
& "', " & "E-Mail = '" & Request.Form("Email"
& "', " & "Phone = '" & Request.Form("Phone"
& "', " & "CellPhone = '" & Request.Form("CellPhone"
& "', " & "Fax = '" & Request.Form("Fax"
& "' " & "WHERE (((FamilyNameID)=" & Request.QueryString("FamilyNameID"
& "
)"
'Sample UPDATE Statement
'UPDATE FamilyInfo SET FamilyInfo.Address = "test", FamilyInfo.City = "test", FamilyInfo.State = "test", FamilyInfo.ZipCode = "test", FamilyInfo.EMail = "test", FamilyInfo.CellPhone = "test", FamilyInfo.Fax = "test"
'WHERE (((FamilyInfo.FamilyNameID)=1));
'Response.write(updatesql)
conn.Execute(updatesql)
%>
<%
updatesql = "UPDATE FamilyInfo SET Address = '" & Request.Form("Address"
'Sample UPDATE Statement
'UPDATE FamilyInfo SET FamilyInfo.Address = "test", FamilyInfo.City = "test", FamilyInfo.State = "test", FamilyInfo.ZipCode = "test", FamilyInfo.EMail = "test", FamilyInfo.CellPhone = "test", FamilyInfo.Fax = "test"
'WHERE (((FamilyInfo.FamilyNameID)=1));
'Response.write(updatesql)
conn.Execute(updatesql)
%>