Database creation problem

You must have the encoder connected via an event, for example. The whole thing would also work via actions or screen objects. See:

https://wiki.mairlist.com/features:encoder