Hi Richard, sorry for late answer. I've got this fold (It tooks the first case --end and not the end --if) if @i != 0 ... set @country ='CANADA' end -- if and not if @i != 0 ... Syntax: PostPosted: Sat Apr 25, 2009 5:26 pm Post subject: I just tried to add this to the SQL syntax: [Fold] 1_Id=if 1_Be...