Forums
This topic is locked
Update and go to next record
Posted 01 Oct 2002 05:13:13
1
has voted
01 Oct 2002 05:13:13 Sabina Ranjit posted:
Hi, I've made a update record form that shows the records one by one, I have a repeated region and move to record behaviors on it to go to next/previous records.
But right now, after updating one tuple/record, I have to come back to the same page showing the first record from the table of the database and have to find the record I want to update again.
I want to make it so that when one record is updated then it takes you to the next record in the table while staying in the same page. (just changing the index, like now I get update.asp?index=1 etc)
In the code attached I thought I should change this bit, how? where?
// append the query string to the redirect URL
if (MM_editRedirectUrl && Request.QueryString && Request.QueryString.length > 0) {
MM_editRedirectUrl += ((MM_editRedirectUrl.indexOf('?') == -1)?"?":"&"

}
The code is in macromedia forum >>
webforums.macromedia.com/dreamweaver/messageview.cfm?catid=263&threadid=455713
Thanks
Sabs