close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

ItemID out of Sync

Thread began 9/25/2011 11:46 am by doug.lemesurier305760 | Last modified 9/26/2011 11:05 am by doug.lemesurier305760 | 1867 views | 3 replies


ItemID out of Sync


I am using DA and UE to insert a record into a MySQL DB.

I am using UE to upload an image with the insert form.

The image uploads and the DB updates fine.

My problem is... I am using the ItemID to rename the uploaded image. (WADA_Insert_items).

This is not working as I would expect.
1) If I launch a new browser session and preform an insert, I get a file name of '.jpg'
2) On a secondary attempt, in the same session, I get a file name of (e.x. '99.jpg'). This is exactly one count of the actual ItemID of 100.

How can I correct this so that it work for the start of a new session and names the files accordingly.

The following is a SQL and session DUMP from the Detal page following an insert.

SQL: SELECT VisitorID, VisitorGroupID, CompanyID, ItemID, ItemCatID, ItemName, ItemShortDesc, ItemLongDesc, helixNumber, CustomerPartNumber, PONumber, OrderQTY, QTYProduced, release1, QTYOnHand FROM items WHERE ItemID = -1 OR ( -1= -1 AND ItemID= 100)

array(17) {
string(1) "1"
string(1) "3"
string(28) ""
string(22) "Helix Impressions Inc."
string(1) "1"
string(5) "helix"
string(5) "helix"
string(1) "1"
string(22) "Helix Impressions Inc."
string(20) "Helix Administrators"
string(0) ""
string(12) "99_thumb.jpg"

Attached Files
items insert and

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...