sorry, thinking about programming while typing.
Is there a way to make a Text Box act as a calculator. Meaning while text
box has focus you could enter 8 + 2 and have the data entry be 10?
I have a data enrty form. One text box requires the user to do math before
entering data. One user is as dumb as a box of rocks, but she looks good.
(kidding) I would like to be able to use that text box to do math before
entering data. Thanks
I have a data enrty form. One text box requires the user to do math before
entering data. One user is as dumb as a box of rocks, but she looks good.
(kidding) I would like to be able to use that text box to do math before
entering data. Thanks
I think you would need to use TWO textboxes: an unbound one for
typing, and a second control bound to the table field. In the
AfterUpdate event of the unbound textbox you could use:
Private Sub txtUnbound_AfterUpdate()
Me!txtBound = Eval(Me.txtUnbound)
End Sub
However, this will need error checking (in case the user enters some
un-evaluable expression); you'll also want code in the form's Current
event to copy the actual table value into the unbound textbox.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.