surf3s / E5

Configurable data entry program for archaeology
MIT License
16 stars 2 forks source link

is it possible to select multiple menu entries? #3

Open nafergo opened 4 years ago

nafergo commented 4 years ago

The TYPE=MENU allows to choose from multiple options but I can only choose one option, they are exclusive. Is it possible to create a menu with multiple entries that I can choose-select multiple entries?

surf3s commented 4 years ago

Can you post here what your entry in the CFG looks like?

nafergo commented 4 years ago

I'm using the default lythic.cfg file and my question is if there's a way to choose both Tool and Core (probably doesn't make sense from the archaeological perspective :) but it's a probable scenario (e.g. adding a book to two non-exclusive categories as Drama and Comedy)

surf3s commented 4 years ago

The answer is no. Right now you would have to add several columns to address this. My intention is to fix this problem in the next version (it is the main reason I re-wrote the program) but in a different way than you suggest. The answer to your problem is a one-to-many database relationship so that one thing, like an archaeological layer, can have many associated things, like dates (or one mandible can have multiple teeth).