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

rating

mrt table showing wrong record number

Thread began 9/23/2019 7:47 pm by software.current355386 | Last modified 9/24/2019 2:40 pm by Ray Borduin | 33 views | 5 replies |

software.current355386

mrt table showing wrong record number

mrt table
MRT07
MRT07dbmADIID
MRT07dbmSiteID

should show. 1,1,1012 instead shows 1,2,1012
so it will always be 1 record a drift see screen shots

Sign in to reply to this post

Ray BorduinWebAssist

There were two issues I had to correct to get this working:

1) You had a redirect in your Update server behavior, so the MRT code never ran. The record in your screen shot was old and leftover from your previous testing I'm assuming. It wasn't being inserted by the update page. I removed the redirect in the update server behavior.

2) It looks like you had recreated the checkbox and repeated region after applying the MRT server behavior. The server behavior adds code to the repeated checkbox that wasn't there. I had to re-apply the MRT server behavior to get it re-added.

Once doing those two things the page started working properly.

Sign in to reply to this post

software.current355386

insert page the primary page record number is 1 out in the MRT table main says 1065 but MRT SAYS 1064
Insert & update pages load the file name int the field only
no physical file upload, and the file gets incremented regardless and this is happening even no file transfer


i was unawaree that there was a poblem with the update , thanks for fixing that.
the issue i raised was relating to insert, basially its a follows

when adding a page with x sitelinks you get x entrils withnull value in the adi
dd subequent eries when updatiing s recordit update another record inste
d
when you . think you have a handle on it i.it spear to hange

wou¬d you be kind enough to ave a look firt hnd by enterring data onlinee nd se e f you can work out whats wrong.
thanks

Sign in to reply to this post

Ray BorduinWebAssist

You had your server behaviors in the wrong order. You had the multiple insert first and then the insert. That means the multiple insert couldn't get the inserted ID from the insert (since it hadn't happened yet) so it was using the ID from the previous insert.

I updated the order of the server behaviors on the page and it appears to work properly now.

Sign in to reply to this post

software.current355386

the mrt coding was greated and inserted by the behaviour

Sign in to reply to this post

Ray BorduinWebAssist

Dreamweaver sometimes puts Server Behaviors in the wrong order, so you have to pay attention to the order of operations. In your case you want to upload a file, insert into the main table, then insert into the associated table. If the server behaviors appear in the wrong order, then you have to cut and paste them into the correct order in the code.

Sign in to reply to this post

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

Content

rating

Layout

rating

Ease of use

rating

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...