In my form I have seven fields I need to use this code for (Date, Job #, Class, Activity, Cost Type, Account, & Comment). I have entered the following code:<br><br>Private Sub Date_LostFocus()<br> If Nz(Date) = "" Then Me.Date = mdatVar1<br>End Sub<br><br>Private Sub Job___LostFocus()<br> If Nz(Job__) = "" Then Me.Job__ = mjobVar2<br>End Sub<br><br>Private Sub Class_LostFocus()<br> If Nz(Class) = "" Then Me.Class = mclaVar3<br>End Sub<br><br>Private Sub Activity_LostFocus()<br> If Nz(Activity) = "" Then Me.Activity = mactVar4<br>End Sub<br><br>Private Sub Cost_Type_LostFocus()<br> If Nz(Cost_Type) = "" Then Me.Cost_Type = mcosVar5<br>End Sub<br><br>Private Sub Account_LostFocus()<br> If Nz(Account) = "" Then Me.Account = maccVar6<br>End Sub<br><br>Private Sub Comment_LostFocus()<br> If Nz(Comment) = "" Then Me.Comment = mcomVar7<br>End Sub<br><br>Private Sub Form_BeforeUpdate(Cancel As Integer)<br>With Me<br> mdatVar1 = Me.Date<br> mjobVar2 = Me.Job__<br> mclaVar3 = Me.Class<br> mactVar4 = Me.Activity<br> mcosVar5 = Me.Cost_Type<br> maccVar6 = Me.Account<br> mcomVar7 = Me.Comment<br>End With<br>End Sub<br><br>When I try to use the form, if I skip over date it returns a different date then the previous one. All of the other fields return an error message stating: "Field..." cannot be zero-length string."<br><br>Could you please advise where my problem is.