it works now it wasn't working because i had the wrong SPDEF in SPSET somewhere in my program thanks Oscar and 12me21