I'm having a difficult time calling UPDATE when my 'WHERE" clause calls ID,
which is numeric and the primary key. I found that I can do a SELECT just
fine with "WHERE ID".. Is there something special about UPDATE that i'm not
getting? I've searched the internet but it appears that what I'm doing
should work.
Any help would be greatly appreciated.
if (modcustomer == "relate")
{
var modid1 = Request.Form ("modid1");
var modid2 = Request.Form ("modid2");
var relationship = Request.Form ("relationship");
var comments = Request.Form("comments");
SqlString = "UPDATE Customer SET Relationship = ' " + relationship + " '
WHERE ID = " + modid1;
connection.Execute (SqlString);
}
thanks,
Debbie Ehrlich
Reliable Software - Developers of Code Co-op®, Server-less version control
for distributed teams www.relisoft.com