Quote:
Originally Posted by gabby98
Can anyone give me an example of how I would use hascover() and how i could use test() to see if the Series Column has data? I tried, but it keeps saying field not found
|
Examples in
general program mode.
has_cover: return 'yes' if the book has a cover, otherwise "no cover".
Code:
program: ifempty(has_cover(), 'no cover')
Testing if the series column has data: return 'Yes' if it does, otherwise return 'No'
Code:
program: test(field('series'), 'Yes', 'No')