Hi,
I need help to round down The Currency to the nearest .25 cents. . i.e if $ 11.49 i want it to round down to $11.25 and if $11.51 i want it to be $11.50. 'em i on the right track. .
thanks
erwin
Sub Round_Down()
Dim db As Database
Dim rs As Recordset
Set db = CurrentDb()
Set rs = db.OpenRecordset("RoundDowntoQuarterstable"
Do Until rs.EOF
If rs!Tip > $*.25 and <$*.50 Then
rs.Edit
rs!TipRoundDown = ".25"
rs.Update
End If
rs.MoveNext
Loop
MsgBox " Round Down is Done. . "
End Sub
I need help to round down The Currency to the nearest .25 cents. . i.e if $ 11.49 i want it to round down to $11.25 and if $11.51 i want it to be $11.50. 'em i on the right track. .
thanks
erwin
Sub Round_Down()
Dim db As Database
Dim rs As Recordset
Set db = CurrentDb()
Set rs = db.OpenRecordset("RoundDowntoQuarterstable"
Do Until rs.EOF
If rs!Tip > $*.25 and <$*.50 Then
rs.Edit
rs!TipRoundDown = ".25"
rs.Update
End If
rs.MoveNext
Loop
MsgBox " Round Down is Done. . "
End Sub