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

Search?

Thread began 10/22/2019 1:09 pm by Steve | Last modified 10/23/2019 5:31 pm by Ray Borduin | 103 views | 24 replies |

Steve

Search?

Does the Search Feature still work?

There is a search in MySQLi but it only generates the code to determine what is being compared. I don't see any binding to a recordset to process the results.

Also, the Help file for that behavior is looking for "dataassist_select_recordset.html" which is not local on my computers. And this help file does not clearly explain the parsing to a filtering recordset:
http://www.webassist.com/tutorials/Create-a-search-page-that-displays-filtered-results

To clarify the MySQLi Search generates the following only:

<?php
$searchrs_Search1_1 = new WA_MySQLi_Search("rs_Search1","0=0");
if ($_SERVER["REQUEST_METHOD"] === "POST") {
$searchrs_Search1_1->clearSearch();
$searchrs_Search1_1->setSearch(array("type"=>"Value", "comparison"=>">", "join"=>"AND"), array("list_price"), "d", "".((isset($_POST["pricefrom"]))?$_POST["pricefrom"]:"") ."");
$searchrs_Search1_1->setSearch(array("type"=>"Value", "comparison"=>"<", "join"=>"AND"), array("list_price"), "d", "".((isset($_POST["priceto"]))?$_POST["priceto"]:"") ."");
}
?>
Sign in to reply to this post

Steve

Update:
I found another search titled Search Wizard which looks to step through the process a bit further. BUT on the final page as shown attached the "Finish" button does nothing. No click recognized both from the mouse/cursor and the Enter key. The Help button works but not the Finish button.

Sign in to reply to this post

Ray BorduinWebAssist

I was able to reproduce this issue with the screenshot you gave. I've done an update the the extension to fix the problem. If you reinstall DataBridge, the finish button should work properly.

Sign in to reply to this post

Ray BorduinWebAssist

The search feature works. It should have you specify the recordset in the UI. In this case the recordset you are using is: "rs_Search1"

In the code it is the first argument of the object:
new WA_MySQLi_Search("rs_Search1","0=0")

Sign in to reply to this post

Steve

Hello,
I encountered a number of different issues. I've installed the latest DataAssist and will try again.

Check out the screenshots that show the selection of a Column but that choice being replaced with some integer (246 in this case).

Another error is that the search conditional drops the comparison causing the page to have a fatal error.

after updating to add the new search column:

if (isset($_POST["WADbSearch1"])) && ($_POST["WADbSearch1"]) {

Should be:

if ((isset($_POST["WADbSearch1"])) && ($_POST["WADbSearch1"] != "")) {

Sign in to reply to this post

Ray BorduinWebAssist

Can I see a copy of your page. I think it might have something to do with the results page you are applying the search to.

Sign in to reply to this post

Steve

I've provided the current page which is in development but was the one showing the prior noted issues. I'm working out the optional fields using the MySQL method as that one did work prior. Once I get it working properly, I'll be moving that to the MySQLi version which is the end goal.

Sign in to reply to this post

Ray BorduinWebAssist

I don't see an issue with the page that would cause this. Can I get FTP access to test with your database and see if I can reproduce the issue that way?

Sign in to reply to this post

Steve

Details attached

Sign in to reply to this post

Ray BorduinWebAssist

I've updated the page to MySQLi for you.

I was able to reproduce the column issue and get it fixed in the live build that I'm uploading now. If you reinstall, that issue will be resolved as well.

Sign in to reply to this post
loading

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