473,394 Members | 1,642 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Microsoft Access Expression Builder Help

I am an electrical superintendent. I built a database to track a job. I made a database of all cables/circuits we have to install. My table consists of the entire project, then I created queries to break it out by areas. Each circuit contains 5 "Yes/No" columns (Conduit Complete,Wire Pulled, Wire Tested, Wire Terminated and Conduit Labeled). I made a report per area to tell me percentage complete per column. Right now it wants to give me a report of each circuit but I would like on 1 report the 5 items we are tracking to have 1 total percent complete. Example: Conduit Complete 50% (50 out of 100 circuits conduit complete columns were checked yes after they were completed) This will be something we can check daily and get an updated percentage complete daily.

I hope I explained this well enough for someone to understand and I definately appreciate any help.

Thanks,
Brian
Aug 5 '10 #1

✓ answered by Jerry Maiapu

If I can understand you properly then try This:

On the Report Footer (Not Page Footer),
count the no of YESs for each column:

For example to count get the total no of YESs in Wire Tested column,

txt1:

Expand|Select|Wrap|Line Numbers
  1.  =Sum(IIf([Wire Tested]="Yes",1,0))
Now calculate the total Yes& NOs

txt2:

Expand|Select|Wrap|Line Numbers
  1. =Count([Wire Tested]
Now get the percentage for all the Yes of the total:

txt3:

Expand|Select|Wrap|Line Numbers
  1. =(txt1/txt2)*100
Do the same for the rest of the columns:

NB: You can set Visible=No for txt1 and txt2 if you do not wish to view so that the percentage in txt3 is only viewable.

Cheers

Hope this helps

Jerry

1 1605
Jerry Maiapu
259 100+
If I can understand you properly then try This:

On the Report Footer (Not Page Footer),
count the no of YESs for each column:

For example to count get the total no of YESs in Wire Tested column,

txt1:

Expand|Select|Wrap|Line Numbers
  1.  =Sum(IIf([Wire Tested]="Yes",1,0))
Now calculate the total Yes& NOs

txt2:

Expand|Select|Wrap|Line Numbers
  1. =Count([Wire Tested]
Now get the percentage for all the Yes of the total:

txt3:

Expand|Select|Wrap|Line Numbers
  1. =(txt1/txt2)*100
Do the same for the rest of the columns:

NB: You can set Visible=No for txt1 and txt2 if you do not wish to view so that the percentage in txt3 is only viewable.

Cheers

Hope this helps

Jerry
Aug 5 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

27
by: Chuck Grimsby | last post by:
(Repost, due to lack of submissions...) The Microsoft Access Product Group (the people who build Microsoft Access) want your help! One of the main things we're working on for the near future...
1
by: Bill | last post by:
Can anybody tell me me how I can get information stored within a field in an Ms Access database to be displayed in a form as a 'news ticker'. Thank you Bill
0
by: AlexanderTodorovic | last post by:
Hello Everyone, I'm developing a client application in which the users need an expression builder as provided in MS Access 2003. I would like to use the expression builder in a C# application....
3
by: VANWEB | last post by:
A developer gave me a Microsoft Access Application approximately 42MB that I had him design. I can open the application itself and see the Access GUI with the buttons & menu he created, but I...
2
by: cocosamoa | last post by:
I would like to make a table using text and numbers. In one of the fields I enter 4 kind of words. I want to make an expression that depending on the word I used does several kind of act's in the...
8
by: reema via AccessMonster.com | last post by:
Did any one faces any difficulties ,issuess or problems using Microsoft Access -- Message posted via http://www.accessmonster.com
2
by: Spitfire999 | last post by:
Hey Everyone, So I am completely new to Access. I have never used it befor in my life (however i am somewhat familiar with SQL). I got thrown into an internship which involves using access (they...
2
by: mariannaccess | last post by:
Good day, I am very new in creating expression. I am trying to do an average between two field on two different subreports. The count in both reports pertain to 7 different catagories. So when i...
4
by: benjen | last post by:
Hi all, XP, office 2003 Pro, MS access. Fairly newby. I'd like to run simple calculations on multiple and specific colums like avg and sd. The problem is that the empty cells cause the ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.