Gordon and Kevin, thanks for your help. It works now. I also found another way described in http://www.shadowcat.co.uk/catalyst/-talks/yapc-na-2008/dbix-masterclass.xul p. 59ff, which does virtually the same. Bernhard Graf