View Single Post
Old 10-15-2017, 04:13 PM   #2
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,453
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Don't use a composite column. Instead use template mode in SR, put the "huge switch function" in the template box, and store the result in the genre column. Save the SR for easier access in the future.

You can make this easier if you put the huge switch into a user-defined template function, but that might not be practical because it requires writing the switch in python.
chaley is offline   Reply With Quote