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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Display Only data that has a field empty

Thread began 3/09/2017 3:05 pm by Anderson | Last modified 3/10/2017 2:36 pm by Ray Borduin | 395 views | 5 replies |

Anderson

Display Only data that has a field empty

I'm trying to figure out how to accomplish displaying a dynamic table while only displaying results of the table that have a cell empty. My table and results pages work fine at the moment, but I would like to achieve this too if possible.

Here is the scenario
3 employees access the data table to see if there is any new available work. When they find work their interested in, they click a button/link that places their name as now being their work (Claiming it). I would like to Only display results that do not contain a users name (Not Claimed) so they do not have to flip through page after page of claimed posts to find a single unclaimed result.

Can this be done easily through Dreamweaver and WebAssist packages?

Sign in to reply to this post

Ray BorduinWebAssist

Yes you can do that by just adding a WHERE clause to the recordset on the results page.

Sign in to reply to this post

Anderson

I actually figured out another way while searching how to do what you suggested (which I'm sure is the same but through the Dreamweaver gui), using Dreamweavers "Show If Recordset" functions. and for me at least, this was a fast easy to implement step, took less then 5 minutes to edit 18 pages.

Sign in to reply to this post

Anderson

Well. I thought that worked. After testing it this morning, we found that several entries that were not empty were shown (but shown with no data) when they should not have been. so I'm back to figuring out the WHERE clause approach.

I entered advanced setting and changed the query to the below and it shows no results at all, neither complete or incomplete entries, just zero entries.

SELECT *
FROM leads
WHERE leads.estimator = ''
ORDER BY jobtype DESC

Sign in to reply to this post

Anderson

Got it

SELECT *
FROM leads
WHERE leads.estimator IS NULL
ORDER BY jobtype DESC

Sign in to reply to this post

Ray BorduinWebAssist

Maybe handle both scenarios:



SELECT *
FROM leads
WHERE leads.estimator IS NULL OR leads.estimator = ''
ORDER BY jobtype DESC

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