![]() |
#1 |
(he/him/his)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,296
Karma: 80074820
Join Date: Jul 2010
Location: Sunshine Coast, BC
Device: Oasis (Gen3),Paperwhite (Gen10), Voyage, Paperwhite(orig), iPad Air M3
|
Search to find blank custom column
I have two custom date columns -- #Started and #Finished. I'm trying to figure out how to do a search that returns all those books that are started, but haven't been finished. The Started is easy -- #Started:>1/1/1900. Which is, I admit, a kludge because I couldn't figure out how to deal with blank, not-blank. Unfortunately, that kind of kludge won't work for the Finished.
I looked through the Search help files, but nothing really seemed to fit. Which is making me feel like a bit of a doofus, but not as much so as I'll likely feel when someone points out the obvious that I've missed! Thanks, |
![]() |
![]() |
![]() |
#2 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,973
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
#Started:true AND #Finished:false
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
#Started:false tests if it is not set (empty). #Started:true is the other test, if it has a value. So your query would be
Code:
#Started:true and #Finished:false |
![]() |
![]() |
![]() |
#4 |
(he/him/his)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,296
Karma: 80074820
Join Date: Jul 2010
Location: Sunshine Coast, BC
Device: Oasis (Gen3),Paperwhite (Gen10), Voyage, Paperwhite(orig), iPad Air M3
|
Duh. OK, I admit, I don't tend to think of date values as True/False. But, of course, under the hood, that makes perfect sense.
Thank you! |
![]() |
![]() |
![]() |
#5 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,054
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
I use <2001 for a book I abandoned (no longer reading for whatever reason) 2011 was the year I documented (empty books) my paper Library So you are not just limited to True (a date) or False, in your usage |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
(he/him/his)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,296
Karma: 80074820
Join Date: Jul 2010
Location: Sunshine Coast, BC
Device: Oasis (Gen3),Paperwhite (Gen10), Voyage, Paperwhite(orig), iPad Air M3
|
Yeah, I knew I could do a less than/greater than value for it, but the True/False was one I just hadn't thought of. Silly, I've written enough code that I should have!
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Find empty date column in search | Tiggy626 | Library Management | 2 | 09-24-2018 08:03 PM |
Search for books without custom column? | twain22 | Library Management | 2 | 02-17-2018 01:59 PM |
Blank a custom percent column | JSWolf | Library Management | 3 | 12-29-2014 03:20 PM |
Search by Custom Column - is this possible | zeekles | Marvin | 1 | 10-18-2014 04:32 AM |
Search using custom column | macnab69 | Library Management | 4 | 05-19-2013 12:33 PM |