Calculating Percentage in a form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a subform that needs to calculate the percentage a certain value is
out of the whole. I also need to store the calculated percentage in a table.
How do I create an equation to calculate the percentage while using the
control source field to reference to the table I wanted to store the
calculate percentage in?
 
Ignoring the basic rule of not storing calculated values in a table, you just
need to find the best event in your code to update the value of the bound
control. The first place to consider would be the Before Update event of the
form:
 

Ask a Question

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.

Ask a Question

Back
Top