473,396 Members | 1,816 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,396 software developers and data experts.

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 1407
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
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...
7
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...
1
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...
2
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...
4
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.,...
8
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...
36
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...
15
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...
5
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...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.