Hallo Fabi,

der Code-Schnipsel ist ok, aber das Problem kann im großen Rest des Progs liegen.

Gruß Dirk