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

DataAssist Search to Test that a column contains a value

Thread began 9/30/2020 11:45 am by keith505 | Last modified 10/01/2020 8:46 am by Ray Borduin | 17 views | 4 replies |

keith505

DataAssist Search to Test that a column contains a value

I am trying to add a search parameter to search a column that contains URLs. I want the user to be able to either select a checkbox or maybe a yes/no dropdown to find results if a field contains a value or not. It doesn't need to match the value...only show results that contain a value. I tried using the "Check" type but it is saying that the recordset must match a NULL or "" entry and I would get an error if it tried to match anything else. Of course, I did get a SQL error. So would the strategy be to add a recordset column that already had the logic of that URL column set to either Yes or No?

Sign in to reply to this post

Ray BorduinWebAssist

You can use a checkbox or a yes/no dropdown. You can use the check type. I'd have to see the page and error to tell you what is wrong.

Sign in to reply to this post
Did this help? Tips are appreciated...

keith505

The error I am getting is: "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"")' at line 1". Attached is a screenshot of the settings and I only get the error when checking the box for this field.

The RecordingLink is basically a URL and I am just trying to return results where there is an entry. It doesn't have to match anything.

Sign in to reply to this post

Ray BorduinWebAssist

Please attach the page you are working on.

I think the checked value setting should be set to "IS NOT" and the value "NULL"

If you give me a url and ftp access I can debug this more efficiently instead of guessing.

Sign in to reply to this post
Did this help? Tips are appreciated...

keith505

Thank you, Ray. I was able to address this by creating a conditional statement in my SQL statement to output yes or no if the column was empty or not and then do a direct comparison to that. Perhaps I could have solved this with Dataassist only, but I don't allow Nulls in that column and it seemed that was the issue I was hitting.

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