troubleshooting Question

Calculating in text get an Error message doesnt give me a reason why.

Avatar of gigifarrow
gigifarrow asked on
Microsoft Access
5 Comments1 Solution472 ViewsLast Modified:
Enclosed is a copy of the database

I have a text box called Equivalent complete. I am getting an error but not sure why because It doesnt give you any help.

This counts all the fields that are 100 (which is a percentage) and then sums all the fields that are not 100. and then combines them together.
Example: (100 + 100) +(.35 + .35) = 2.70

Round(DCount("[Percentages]","qryPercentages"," [Unit ]= ('3-6ID')AND PercentagesFortCarson IN('100') ")+Nz(DSum("[Percentages]","qryPercentages"," [Percentages] NOT IN ('100') AND Unit =('3-6ID')" & " AND " & " Not IsNull (InShopDate)"))/100,1)

I have used this code before so I know it works I think it is the field and the query Im trying to use.

I have a Module connected to the field called "percentages" called "ModFormula".
On the form the "percentages" field was added and it has code in it that is not being used because it is controled by the "qryPercentages" and the "ModFormula".  The "percentages" field shows the percentage that has been done based on the check marks.

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros