The expression you are passing to OLDVAL( ) or CURVAL( ) references the OLDVAL( ) or CURVAL( ) function. This is not a supported operation.