Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Option Compare Database
- Function MyVal(lnIn As Long)
- If Len(Me.entry) > 1 Then
- Me.entry = Replace(Me.entry, ".", "") & lnIn
- 'Me.entry = Left(Me.entry, Len(Me.entry)) & "." & Right(Me.entry)
- Else
- Me.entry = Me.entry & lnIn
- End If
- End Function
- Private Sub calc_Click()
- Me.Balance = Me.Balance - (-(Me.entry))
- Me.entry = ""
- End Sub
- Private Sub clear_Click()
- Me.entry = ""
- End Sub
- Private Sub Command16_Click()
- Dim MyBalance As Currency
- MyBalance = Me.Balance
- DoCmd.Close
- Forms!frmHours.Form.SetFocus
- Forms!frmHours.Form.Balance = MyBalance
- End Sub
- Private Sub Form_Open(Cancel As Integer)
- Me.Balance = OpenArgs
- End Sub
Add Comment
Please, Sign In to add comment