close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Variables lost during multiple update

Thread began 11/08/2011 2:35 am by acaciasd344844 | Last modified 11/09/2011 2:34 am by acaciasd344844 | 895 views | 2 replies |

acaciasd344844

Variables lost during multiple update

Not sure what is happening here. I am using the Update Multiple Records Server Behavior. After Updating the database I am instructing it to carry a single variable to another page. This doesn't seem to be working or should I say sometimes it does and sometimes it doesn't. This is extremely frustrating when testing the pages work correctly. I even tick the "Pass original querystring" box, but to no avail. Everything else works OK, the database is updated, the following page appears as expected, but the variable is not being displayed as expected. I am using DataAssist 2.0.7.

I have attached the 2 files in question for your attention.


Thanks again


John

Attached Files
missing variable.zip
Sign in to reply to this post

Jason ByrnesWebAssist

instead of using the recordset variable in the redirect:

php:
$WA_redirectURL = "confirmshippinglist.php?shiptoid=".$row_Recordsetfindshipsupplier['shiptoid']  ."";



why not use the shipto id form element which is used to filter the recordset:

php:
$WA_redirectURL = "confirmshippinglist.php?shiptoid=".isset($_POST['shiptoid'])?$_POST['shiptoid']:""  ."";





if it's not working that way, you have narrowed it down to the options in the select list.

view source of the page in the browser to see the code being generated for the list to troubleshoot further.

Sign in to reply to this post

acaciasd344844

Hi Jason,

Thanks for that unfortunately what you suggested didn't work. Although that is the practice I use in most cases. I found a work-around in the end by storing the variable in its own mysql table and then retrieving it again on the following page. Not the best way to do things I know, but it works now.

Thanks again

John

P.s. Its great to know you guys are there when we need a bit of help

cheers

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