Me.step = Left(Me.step, InStrRev(Me.step, ",") - 1) This code works fine as long as it can find the "," but if there is no , entered it errors or. Is there a way I can look for the comma before this code runs? jon