hello! what is the proper way to gain the PID for a record being edited or created in tca.php? you can extract it from the returnUrl= string, but that is not too pretty, is it. ;) i would guess/hope that there is some variable hiding in the woods, alas i could't find it anywhere. any input would be great. :) thanks .christoph