View Single Post
Old 11-11-2025, 04:49 PM   #2
Lys
Groupie
Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.Lys ought to be getting tired of karma fortunes by now.
 
Posts: 187
Karma: 727278
Join Date: Dec 2022
Location: Not in an English speaking country
Device: (Too many) Kobo(s)
The code should be something like this:


Code:
program:

if $#complete  == '100' then
    if $#read == '' then "Read in paperback or on another eReader."
else 
    format_date(raw_field('#read'), 'yyyy')
fi
fi
Where if custom column "complete" is 100, you are evaluating read column, and if read column is blank, it returns the text, otherwise it returns the year.
Lys is offline   Reply With Quote