There's one thing, If you use this code, placing it in the forms got focus event isn't the right place. Sorry if I've been misguiding you there. <br><br>You could place it in the forms on current event or on the controls (ReceiptNumber) got focus event.<br><br>Other than that, I'm not sure if I can give any specific help. There are some things though;<br><br>I'm not familiar with the "autorecordid", suggested by Elizabeth, so if you also use this somewhere, there might be anomalities.<br><br>If this is a subform, try it as a "stand alone" form.<br><br>You might also try other things to ensure that the code is triggered, and performing, set a "breakpoint" in your code (If you're not familiar with this; click on the grey part just to the left of the codeline where you want the break, this should highlight the line of code and you might check on the values of the controls, use Step Into (F8) to excecute the code line by line)<br><br>You might try to set the value excplicit; <br><br>Private Sub txtReceiptNumber_GotFocus()<br> Me!ReceiptNumber = 1<br>End Sub<br><br>Hope some of these advices are of assistance, the code I posted, does work in numerous of my apps, so I...<br><br>Good luck<br><br>Roy-Vidar<br>