473,800 Members | 2,613 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Display of Total work in Seperate display field

I have TYPE field which has 3 data like HEAD, TRACK and PANEL. Now
whenever any person works on HEAD we put 8 Hrs in HRS filed and in
LABOR field it reflects the dollar value automatically like $160
(8*20=160).Now I want to display the total of Head, Track and Panel in
following;

Actual Cost for Head: (All head total should display here if I have
more than one head work)
Actual Cost for Track:(All head total should display here if I have
more than one head track)
Actual Cost for Panel:(All head total should display here if I have
more than one head panel)

I will greatly appreicate if anybody can help me.

Thanks,
Mukesh

Jun 27 '06 #1
4 1433
Create a 'sum' query. Bring in your table and the field "TYPE" and
group by TYPE. Add a new field

ACH: iif([TYPE] = "Head", LABOR, 0)

This will put the total labor in the new field if the TYPE field is
"Head".

Add 2 other similar fields; ACT and ACP and change "Head" to "Track"
and "Panel" respectively.

Sum these fields and you should get a list of the 3 data types and the
total labor for each.
mu************@ gmail.com wrote:
I have TYPE field which has 3 data like HEAD, TRACK and PANEL. Now
whenever any person works on HEAD we put 8 Hrs in HRS filed and in
LABOR field it reflects the dollar value automatically like $160
(8*20=160).Now I want to display the total of Head, Track and Panel in
following;

Actual Cost for Head: (All head total should display here if I have
more than one head work)
Actual Cost for Track:(All head total should display here if I have
more than one head track)
Actual Cost for Panel:(All head total should display here if I have
more than one head panel)

I will greatly appreicate if anybody can help me.

Thanks,
Mukesh


Jun 27 '06 #2
Thanks Manning for your prompt response. Greatly appreciated. I am not
good at access and query. Can you please guide me step by step if you
don't mind. My table name is COSTING. If you can paste the query code I
will greatly appreciate it.

Thanks again,
Mukesh
ManningFan wrote:
Create a 'sum' query. Bring in your table and the field "TYPE" and
group by TYPE. Add a new field

ACH: iif([TYPE] = "Head", LABOR, 0)

This will put the total labor in the new field if the TYPE field is
"Head".

Add 2 other similar fields; ACT and ACP and change "Head" to "Track"
and "Panel" respectively.

Sum these fields and you should get a list of the 3 data types and the
total labor for each.
mu************@ gmail.com wrote:
I have TYPE field which has 3 data like HEAD, TRACK and PANEL. Now
whenever any person works on HEAD we put 8 Hrs in HRS filed and in
LABOR field it reflects the dollar value automatically like $160
(8*20=160).Now I want to display the total of Head, Track and Panel in
following;

Actual Cost for Head: (All head total should display here if I have
more than one head work)
Actual Cost for Track:(All head total should display here if I have
more than one head track)
Actual Cost for Panel:(All head total should display here if I have
more than one head panel)

I will greatly appreicate if anybody can help me.

Thanks,
Mukesh


Jun 27 '06 #3
Hi Manning,
Is there anyway I can display the total of Head in Head display box
Panel in Panel display box and Track in Track display box in my form
without adding new field?

Thanks,
Mukesh
mukeshhtriv...@ gmail.com wrote:
Thanks Manning for your prompt response. Greatly appreciated. I am not
good at access and query. Can you please guide me step by step if you
don't mind. My table name is COSTING. If you can paste the query code I
will greatly appreciate it.

Thanks again,
Mukesh
ManningFan wrote:
Create a 'sum' query. Bring in your table and the field "TYPE" and
group by TYPE. Add a new field

ACH: iif([TYPE] = "Head", LABOR, 0)

This will put the total labor in the new field if the TYPE field is
"Head".

Add 2 other similar fields; ACT and ACP and change "Head" to "Track"
and "Panel" respectively.

Sum these fields and you should get a list of the 3 data types and the
total labor for each.
mu************@ gmail.com wrote:
I have TYPE field which has 3 data like HEAD, TRACK and PANEL. Now
whenever any person works on HEAD we put 8 Hrs in HRS filed and in
LABOR field it reflects the dollar value automatically like $160
(8*20=160).Now I want to display the total of Head, Track and Panel in
following;

Actual Cost for Head: (All head total should display here if I have
more than one head work)
Actual Cost for Track:(All head total should display here if I have
more than one head track)
Actual Cost for Panel:(All head total should display here if I have
more than one head panel)

I will greatly appreicate if anybody can help me.

Thanks,
Mukesh


Jun 27 '06 #4
Is there anyway I can display total without addding new field.

Thanks,
Mukesh

mu************@ gmail.com wrote:
Hi Manning,
Is there anyway I can display the total of Head in Head display box
Panel in Panel display box and Track in Track display box in my form
without adding new field?

Thanks,
Mukesh
mukeshhtriv...@ gmail.com wrote:
Thanks Manning for your prompt response. Greatly appreciated. I am not
good at access and query. Can you please guide me step by step if you
don't mind. My table name is COSTING. If you can paste the query code I
will greatly appreciate it.

Thanks again,
Mukesh
ManningFan wrote:
Create a 'sum' query. Bring in your table and the field "TYPE" and
group by TYPE. Add a new field

ACH: iif([TYPE] = "Head", LABOR, 0)

This will put the total labor in the new field if the TYPE field is
"Head".

Add 2 other similar fields; ACT and ACP and change "Head" to "Track"
and "Panel" respectively.

Sum these fields and you should get a list of the 3 data types and the
total labor for each.
mu************@ gmail.com wrote:
> I have TYPE field which has 3 data like HEAD, TRACK and PANEL. Now
> whenever any person works on HEAD we put 8 Hrs in HRS filed and in
> LABOR field it reflects the dollar value automatically like $160
> (8*20=160).Now I want to display the total of Head, Track and Panel in
> following;
>
> Actual Cost for Head: (All head total should display here if I have
> more than one head work)
> Actual Cost for Track:(All head total should display here if I have
> more than one head track)
> Actual Cost for Panel:(All head total should display here if I have
> more than one head panel)
>
> I will greatly appreicate if anybody can help me.
>
> Thanks,
> Mukesh


Jun 29 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
5282
by: Matt | last post by:
I am running CR 8.5 from a (large) SQL Server db. My aim is to use crystal enterprise so end users in our sales team can access reports on demand for a given date range and client so I am trying to keep contact with the database to a minimum. IE currently processign a report takes about 10 minutes and involves manually running stored procs in sql server to produce smaller, client specific temporary tables that CR can easily cope with. ...
7
1366
by: Tim Chmielewski | last post by:
The following page is a test for a form that is meant to accept extra order information for certain products: http://www.humanedge.biz/tim/testtotals.htm The extra field at the bottom is meant to show the total quantity for an order, but due to the way the form is processed I had to put it on a seperate form that seems to interfere with the function I use to show the totals. The function is as follows:
1
2598
by: PeeZee | last post by:
I am having some trouble getting this done. I am able to get the value to display on a seperate page but not on the same page in the same form. I would like to display to set value of the radio button into a text field. Also, would need to multiply and add values of radio buttons as the are selected into seperate text field and have a subtotal display in the last of the fields.
2
5651
by: phaddock4 | last post by:
Please help. GOAL: I hope to calculate a total amount in a TotalQuery (or field in the SubQuery?), based upon three field amounts in a SubQuery. STATUS: When I create an expression in the TotalQuery based upon SubQuery fields, e.g: Total: + +
4
2742
by: rszebras | last post by:
I inherited a database (as a novice at Access) and need to modify it to make it more efficient, i.e., the assignment form needs to autopopulate with the client's name, address, phone number, etc., when you select the cust id. Found this cited as a good method: http://www.mvps.org/access/forms/frm0058.htm I have two tables (clients, assignments) and one form (assignment input) in the database. I have a control box called CUST ID in the...
8
2856
by: Lysander | last post by:
Hi, I am using Access 2003 I have seen some threads on how to select multiple values from a list box, but how do I display the selected options back again (Last time I used Access in anger, you could not multi-select at all) This is what I have. A demographic survey form, with over 100 questions, most of which can have multiple answers. At the moment, each answer is stored in the form as a seperate y/n field. Apart from the in-elgance of...
36
4817
by: beebelbrox | last post by:
Hi, I am new VB programming in Access and I am requesting help with the following code. WIndows OS MSaccess 2003 This code is attached to an unbound form that will display a specific recordset based in information passed to the form from another form. The problem I am having is that for each of the case statements the proper records (values and Number of records) are being returned but the movement commands do not work or do not display...
15
6182
klarae99
by: klarae99 | last post by:
I am working on an Inventory Database in Access 2003. I am working on a report that I could print when its time to file our State Sales Tax paperwork. The figures I need for this report are Total Sales(not including tax), the Amount of Sales Subject to Tax, and the Total Sales Including Tax, all gathered for a specific time period. I have a query (qrySalesTax) to find all sales within a specified date range that also calculates the Total...
5
3297
by: mrkh | last post by:
Hi all, I've created a table and it works just fine when you insert values in the text field. When you insert "0" as a value it still works, problem is if you skip a text field and don't insert anything it returns "NaN" in the total column. I can't figure out what to change. Any help would be much apprecitated. Also, and this would be a bonus, how do you insert a button to clear the entire field to start over if you wanted to without...
0
9691
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9551
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10507
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10279
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7582
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5473
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5607
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4150
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2948
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.