Yes. But without knowing how you expect to get this input from the user and
where this calculation needs to be computed, we can only give you some vague
suggestions on how to do this. For example, if the user types 4 into the
txtHours text box and types 20 into the txtRate text box, then the following
calculation can be made in a VBA procedure:
total = Me!txtHours.Value * Me!txtRate.Value
.... and 80 will be stored in the variable named "total."
I want the user to input leadtime and safety margin so that I can multiply
the sum by the daily demand. This should give me the # of pieces needed in my
kanban.
I'm thinking of computing this in a query. Do you know a better way?
If the query is gathering the information from all of the necessary tables
to compute the daily demand, then computing the total # of pieces needed in
a query is quite adequate.
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.