close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Search not working

Thread began 12/03/2009 1:58 am by rogersds267040 | Last modified 12/04/2009 4:23 pm by Eric Mittman | 901 views | 5 replies |

rogersds267040

Search not working

I'm trying to implement a search page and it doesn't work. I have attach the search.php and results.php pages

Attached Files
Search Error.zip
Sign in to reply to this post

Eric Mittman

In order to make a determination about what the problem may be we will need some more details about this search. Please explain a little about your db structure and how you would like the search to work and how that compares to the result you are now getting.

Sign in to reply to this post

rogersds267040

Search not working

I have included the database in the attachment. It's just basic searches I'm doing and it's not working.

Attached Files
Errors.zip
Sign in to reply to this post

Eric Mittman

Due to the way that the server behavior is created for the DataAssist Search it is difficult to determine how the search is setup based on the code in the pages. If you can please explain a little about how you would like this to work, how you have setup the server behavior, and what you expect for the result. I know that it may be a very basic setup to you but each case is going to be a little different so it is very difficult to say what you may need to change or do differently to get the correct result without knowing a little more about how you have it setup and how it should behave. An example search and the desired result would be very helpful as well.

Sign in to reply to this post

rogersds267040

Search not working

I'm just trying to do a basic search/query db on the following fields in the card table;

cardHolderFName - (first name that matches)
cardHolderLName - last name that matches
cardNo - card number that matches
cardCSRID - csrid that matches
cardIssueBank - card issued bank that matches
cardStatus (That's the only one that produce results)
cardIssueDate - date card issued 2009-12-03
cardRequested - card that matches (International or Local)


The results brings up the rows that's found. I need to get that before Sunday to go LIVE.

Sign in to reply to this post

Eric Mittman

To start with you will need to have a recordset on your results page that selects all from this table.

Next you will apply the DataAssist Search server behavior. I would suggest that you work on this one criteria at a time and test it out in between each of them to ensure that it is still working.

For your first criteria you would select the column from the db, the type for the column should be text, then the comparison should be includes. For the type you would use keyword, then for the edit field name you would just select the form field from the search page that you will be entering this value into.

When you are done with this step you should test it out to confirm your results. When you get it working the way you would like you can move onto the next search criteria. Post back if you have any problems or questions about any of this.

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