Hi Per -----
>
>I tought a function in a insert trigger event whould do it.
>
Well, in a single-tier you are right. In a multi-tier, heterogenous application(s) try to offload triggers outta the VFP database.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05