DickyP
Active member
- Local time
- Today, 19:05
- Joined
- Apr 2, 2024
- Messages
- 508
Would a simple pop up calculator work? I have one you can click in a field and do the calculations, returning the value back to the control.
Whilst not convinced of the usefulness of the threads desire to treat Access like Excel, thanks for this popup - I have incorporated it into my standard library database. And I'm happily fiddling with it to see where I can get to!
First one is to define a sub-macro ( I've assigned to ^+K) so I don't have to assign any code to particular fields.
Next step is to make sure it only works on numeric text fields by:
Code:
replace
If Not BoundControl Is Nothing Then
If IsNumeric(BoundControl) Then strArgs = BoundControl.Value
End If
with
If Not BoundControl Is Nothing Then
If BoundControl.ControlType <> acTextBox Then Exit Function
If IsNumeric(BoundControl) Then
strArgs = BoundControl.Value
Else
Exit Function
End If
End If
Last edited: