My first comment, is spend some money and buy the DMIS specification! The answers are all in there! Goto www.cam-i.org DECL/LOCAL,INTGR,iCount (loop) iCount=ASSIGN/1 IF/(iCount<50) JUMPTO/(loop)