Update is not store data! Help, please!

It's driving me crazy! I have a form of update that throws any errors on presentation, but stores no data either. I checked through my cfdump data fields are spent and in the correct data types. I am sure that the problem is in the primary key. It does not appear in my cfdump but I don't know that it should because it is a hidden field. It appears in my source code (which I don't understand since this kind of defeats the purpose to be hidden) so I think it's happened, but I still don't get any update. Help, please!

Here is my form:

< do action = "update_product.cfm" method = "post" > "

< cfoutput query = "getProducts" >

< input type = "hidden" name "ProductID" value = "" #ProductID # "/ >"

< table >

< b >

< td width = "178" style = "width: 178px" > < table >

< td width = "375" style = "width: 375px" > < table >

< td width = "175" style = "width: 105px" > < table >

< /tr >

< b >

< style td = "width: 178px" > logo maker: < table >

< td colspan = "2" style = "width: 375px" > < input name = "ManufacturerImage" type = "text" style = "" width: 230px "value =" #ManufacturerImage #"> < table >"

< /tr >

< b >

< style td = "width: 178px" > manufacturer: < table >

< style td = "width: 375px" > < input name = "Manufacturer" type = "text" style = "" width: 230px "value =" #Manufacturer #"> < table >"

< style td = "" width: 105px "valign ="top"> < table >"

< /tr >

< b >

< style td = "width: 178px" > product title: < table >

< style td = "width: 375px" > < input name = "ProductTitle" type = "text" style = "" width: 230px "value =" #ProductTitle #"> < table >"

< style td = "" width: 105px "valign ="top"> < table >"

< /tr >

< b >

< style td = "width: 178px" > the product image: < table >

< td colspan = "2" style = "width: 375px" > < input name = "ProductImage" type = "text" style = "" width: 230px "value =" #ProductImage #"> < table >"

< /tr >

< b >

< style td = "" width: 178px "valign ="top"> product description: < table >"

< td colspan = "2" rowspan = "3" valign = "top" > < textarea name = "ProductDescription" cols = "50" rows = "10" id = "ProductDescription" > #ProductDescription # < / textarea > < table >

< /tr >

< b >

< style td = "width: 178px" > < table >

< /tr >

< b >

< style td = "width: 178px" > < table >

< /tr >

< b >

< style td = "" width: 178px "class = 'auto-style1' > Group catalogue: < table >"

< style td = "" width: 375px "class = 'auto-style1' > < select name ="CatalogGroup"required ="Yes"message ="Please select a group of catalog">"

< option selected = "selected" value = "#CatalogGroup #" > #Group # < / option > < / cfoutput >

< cfoutput query = 'getGroups' >

< option value = "#ID #" > #Group # < / option >

< / cfoutput >

< / select > < table >

< style td = "" width: 105px ' class = "' auto-style1 > < table >"

< /tr >

< b >

< style td = "" width: 178px "class = 'auto-style1' > species: < table >"

< style td = "" width: 375px "class = 'auto-style1' > < cfoutput query ="getProducts"> < select name ="Species">"

< option selected = "#Species #" > #Species # < / option >

< option value = "Birds & poultry" > birds & poultry < / option >

< option value = "Caged Bird" > Caged Bird < / option >

< option value = "Canine" > Canine < / option >

< option value = "Cattle" > cattle < / option >

< option value = "Deer" > deer < / option >

< option value = "Equine" > equine < / option >

< option value = "Cat" > Feline < / option >

< option value = "Fish" > fish < / option >

< option value = "Goat" > goat < / option >

< option value = "Llama and alpaca" > llama and alpaca < / option >

< option value = "Rabbit" > rabbit < / option >

< option value = "Sheep" > sheep < / option >

< option value = "Swine" > swine < / option >

< option value = "Wild birds" > wild birds < / option >

< option value = ' Multi/All' > Multi/All < / option >

< / select > < table >

< style td = "" width: 105px ' class = "' auto-style1 > < table >"

< /tr >

< b >

< td bgcolor = "##FFFFCC" style = "width: 178px" > product type < table >

< td bgcolor = "##FFFFCC" style = "width: 375px" > < select name = "ProductType" required = "Yes" message = "Please select a product Type" >

< option selected = "selected" value = "#ProductType #" > #ProductTypes_ProductType # < / option > < / cfoutput >

< cfoutput query = "getProductType" >

< option value = "#ID #" > #ProductType # < / option >

< / cfoutput >

< / select > < table >

< td bgcolor = "#FFFFCC" style = "width: 105px" > < table >

< /tr >

< b >

< style td = "width: 178px" > < table >

< style td = "width: 375px" > < table >

< style td = "width: 105px" > < table >

< /tr >

< b >

< style td = "width: 178px" > < table >

< td > < input type = "submit" value = "Update" > < table >

< style td = "width: 105px" > < table >

< /tr >

< b >

< style td = "width: 178px" > < table >

< style td = "width: 375px" > < table >

< style td = "width: 105px" > < table >

< /tr >

< /table >

< / make >

Here's my action page:

< cfdump var = "# FORM #" >

<!--> update product data
< cfif IsDefined "(FORM. ProductID") >

< cfquery datasource = "farmky" name = "updProducts" >
UPDATE products
WHERE ProductID = #FORM. ProductID #.
< / cfquery >

< / cfif >

< cflocation url = "products_master.cfm" >

Guess what it was... a *' lack of equal sign;

name "ProductID" value = "27" / >

Watch this kind of stuff long enough and you can't see the obvious cause, you're too fixed on the search for the strange. Thanks for your help ilssac!

Tags: ColdFusion

Similar Questions

Maybe you are looking for

  • iMac screen flashes black in Photoshop CC

    Hello I am posting this as well in CC Adobe and Apple forums as I do not know where the problem lies, but I would really appreciate this problem: I use Adobe apps on an iMac CC brand new (still in time to get the full refund). If you use Photoshop CC

  • Update App Tabs recording is not in 6.0.1

    I had a problem with App Tabs before, but having Firefox not delete browsing history after closing that resolved pretty quickly. This morning when Firefox updated itself, I had lost my tabs App that does not seem like that big of a deal that they ten

  • Envy 15-k116TX: HP Envy 15-k116TX BIOS password reset

    Excused me! I forgot the administrator password of my ENVY 15-k116TX BIOS. This is the code it shows after 3 times to type the wrong password: 68026368 Could you give me the code to reset to do this, please? Thanks in advance.

  • OfficeJet Pro 8610: Unable to connect 2 laptop HP Officejet Pro 8610

    I have 2 HP laptops each with Win7 (64 bit) SP1 and I'm trying to connect to the computer laptop 2nd in an OfficeJet Pro8610 to print wireless.  I tried using the CD rom and download the drivers online but I can connect this laptop to the printer.  I

  • How can I change the settings of fraud management filters?

    I tried to order from site Web Shadora jewelry. I do not use PayPal. I was using a credit card, but they said that my payment was not accepted because of my settings in FMF. Help, please. TY