... oDLG,oLBX, oRsCust, cSQL, oERR, oColLOCAL oBTN1,oBTN2,oBTN3,lOK,oBrushmsginfo( lclose ) As you can see from the screen shot .. the valid fires before the lclose variable is initialized and I can not seem to trap the event and return(.t.) from the valid .. Thanks Rick Lipkin http://img830.imageshack.us/img830/1015/validg.jpg