Hi Joey, i got it, i got it, i got it :D ---- tt_content.textpic.20 = CASE tt_content.textpic.20 { key.field = tx_rgsg_smoothgallery default <temp.origpic 0 < temp.origpic 1 < tt_content.newtextpic } --- I guess the problem was the value 0 or any other kind of code ;) thx for help! georg