PDA

View Full Version : DataAssist Insert not inserting ItemID


Travis250923
03-25-2009, 11:02 AM
I am setting up my store to have products in multiple categories and when I use the insert behavior it was not inserting the ItemID from my recordset. The insert code is after the recordset and I know the ID being pulled into the recordset. I was able to workaround this by adding a hidden form element and having it echo the ItemID for the value from the form element and then I can get DataAssist to populate the ID.

Any thoughts...not a big deals since I have a workaround but more of a curiosity.

Ray Borduin
03-25-2009, 02:43 PM
Sometimes you need to cut and paste recordsets to move them up or down in the code to take advantage of them properly. In this case you could have just moved the recordset up or the insert code down lower on the page.