Y
Yvette
I have the following module which works in Access 2003 and is not working in
Access 2007. Is there something else I need to do now in this newer version
of Access for it to work? Thank you.
Form_Detailed Project Listing
Option Compare Database
Private Sub Form_BeforeUpdate (Cancel As Integer)
If Nz(Me.BalanceForward, 0) = 0 Then
Me.BalanceForward = Nz(Me.Final_Cap, 0) - Nz(Me.ApprovedCap, 0)
Else
Me.Final_Cap = Nz(Me.ApprovedCap, 0) + Nz(BalanceForward, 0)
End If
End Sub
Access 2007. Is there something else I need to do now in this newer version
of Access for it to work? Thank you.
Form_Detailed Project Listing
Option Compare Database
Private Sub Form_BeforeUpdate (Cancel As Integer)
If Nz(Me.BalanceForward, 0) = 0 Then
Me.BalanceForward = Nz(Me.Final_Cap, 0) - Nz(Me.ApprovedCap, 0)
Else
Me.Final_Cap = Nz(Me.ApprovedCap, 0) + Nz(BalanceForward, 0)
End If
End Sub