close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

DataAssist Results Issue (when live)

Thread began 6/21/2010 2:23 pm by braduhl | Last modified 7/12/2010 1:29 pm by braduhl | 2398 views | 17 replies

Jason ByrnesWebAssist

the way data assist search works is to dynamicly create the where cluase to filter the recordset, and append it to the recordset select statement before it is executed.


One strange anomaly I see in the code, is that the price form elements are being referanced using the generic Request collection, but the keyword element is being referanced using the Request.Form collection. For example, line 16 - 18:

WADbSearch1.keywordComparison(KeyArr0,"" + String(Request.Form("tfKeyword")) + "","AND","Includes",",%20","%20","%22","%22",0);
WADbSearch1.addComparison("ProductRetPrice","" + String(WADS_stripCurrency(Request("tfMinPrice"))) + "","AND",">=",1);
WADbSearch1.addComparison("ProductRetPrice","" + String(WADS_stripCurrency(Request("tfMaxPrice"))) + "","AND","<=",1);




try changing line 16 to:

WADbSearch1.keywordComparison(KeyArr0,"" + String(Request("tfKeyword")) + "","AND","Includes",",%20","%20","%22","%22",0);




if that does the trick, you'll also want to change line 52:

WADbSearch1.keywordComparison(KeyArr0,"" + String(Request.Form("tfKeyword")) + "","","Includes",",%20","%20","%22","%22",0);




to:

WADbSearch1.keywordComparison(KeyArr0,"" + String(Request("tfKeyword")) + "","","Includes",",%20","%20","%22","%22",0);

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