close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Managing filtered recordsets with DA

Thread began 4/19/2010 5:26 pm by neo314 | Last modified 4/22/2010 1:40 pm by neo314 | 1581 views | 5 replies

Jason ByrnesWebAssist

If I'm reading the question correctly, this sentence really is the key to your problems:

  The problem is persistence of the parameters of these filters. I can modify the SQL, but pass original query string does not seem to work  




the pass original querystring feature relies on the query string being present in the forms post.

In other words, if you have a page:
update.php


and you browse to it with a query string var:
update.php?id=4


and you have a form with the following action:
<form action="update.php" name="form1" method="post">
</form>

the query string is absent when the form posts, so the pass original query string setting does not have a query string to work with.


make sure any query string vars that are passed to the page are posted when the form posts, use the following for the forms action:

php:
<?php echo $_SERVER["PHP_SELF"]; ?><?php echo (isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != "")?"?".$_SERVER["QUERY_STRING"]:""?>



example:

php:
<form  action="<?php echo $_SERVER["PHP_SELF"]; ?><?php echo (isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != "")?"?".$_SERVER["QUERY_STRING"]:""?>" name="form1" method="post">
</form>

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