Hi, I have written a function in which some data is getting inserted into custom table, then some records getting updated. I have use Pragma autonomous_transaction also. I have registered the function in dico 10g. Then I create a workbook and trying to use that function in a calcualtion. Its returning "DML statement can not be executed". I have seen the same type of example in disco 4i. It is working there. Is it not possible in 10g? Please inform me asap about the cause and solution. If possible please send a mail to email@example.com giving the solution. Thnx in advance.