>No that's not it! After adding the function if.prg I found out that if.prg is called at a line like: "USE (File1) IN 0 ALIAS Table1" where File1 = "Path\Filename.dbf"
Maybe one of the tags has if() instead of iif() somewhere in index expression or for clause? Or maybe there's some code in stored procedures?