Total, Subform->form Problem ....

Nov 27, 2005

ok guys..
i dunno what exactly happen..i think i done it at right way..

ok..i create Main Form that contain 2 (material and workmanship) subforms. subfrom i create using wizard from query
then i use =Sum([TotalAmount]) at subform footer to calculate total price from selected part (i create workshop's part management system) n it works fine..for both subform..

but another prob here..
at Main Form that contain material n workmanship subform. i want to calculate Grand Price, where it from TotalAmount from each subform..
i create 2 dummy control (to hold TotalAmount from each subform,coz i think its hard to make sum for 2 TotalAmount), 1 for material n 1 for workmanship..
then i want to sum 2 dummy control into Grand Price box...
but when i use =MaterialSubform.[Form]!TotalAmount at dummy's ControlSource it failed.. show #name?..

y? am i missing sumting at my Main form or subform? plz help me..
i want to send attachment but my fileto big to send...

*(i hope u can understand, coz my english not good ^_^)

View Replies


ADVERTISEMENT

Subform Total To Show On Main Form

Jan 24, 2007

Hi ALl,

I have a subform that accounts and adds all the expenses for a certain project (for example, total is $27,000). I would like to know how to duplicate the final cost in the subform and show it on an unbound textbox of that linked main form (the unbound textbox in the main form shows $27,000 also).

Thanks in advance, guys...

Caliboi

View 4 Replies View Related

Forms :: Using Total From A Subform In A Sum In Main Form

Jul 8, 2013

I am trying to create a time sheet that enables my workers to fill out separate work orders and the hours from those Work orders are auto transferred to a sub form within their daily time sheet. I have gotten all this done and I have the total hours transferring to the main form but I need to use that transferred number in a new sum on the main form. I know that this cannot be easily done just by using the expression builder.

View 10 Replies View Related

Total Of A Field In A Subform Displayed In Actual Form.

Jun 10, 2006

Hi.

I am setting up a database to run a shop. In my 'Orders' form, i have a subform of the order details (The item (combo box), price, quantity and subtotal (price*quantity).

In the form in which the subform is displayed, how can I display the total of the subtotals? Is it easy, could anyone show me roughly what i need to write?

Many, many thanks,

- Smiffezo.

View 2 Replies View Related

Forms :: When Subform Have No Records Then Total Field On Main Form Shows Error

Sep 1, 2013

In my database main form with subform. subform have query as recordsource.total of one of field in subform shown on main form. all is ok and show total correctly but when subform have no records then total field on main form shows #error. How to convert this value either into null string or zero(0).

View 2 Replies View Related

Total On A Subform

Dec 7, 2006

I have a form with general information and then a subform where I enter items, price and quantity. I want to see the total form the lines that I have enter and keep the total up to date as I enter new lines.

Can anyone explain how to do this? I have tried a few things, but none give the result I would like...

View 14 Replies View Related

Total From Subform

Nov 30, 2007

Ugggh, I think the moral of the story here is, don't drink on a work night . Anyway, I have this form with subform (this is basically an order form) that I can't get the total of the subform to the main form.

The Form is named "Place Order"
The subform is name "order details"

Ok, so in the subform, I have quantity and price, and then a textbox named "ttls" with the multiplication of both:
nz([quantity])*nz([price])
Then in the footer of the subform I have a textbox named "subttls" which has the following for its control source:
=sum( [ttls] )

In the main form, I have a textbox named "Subtotals" which has the following for it's control source:
[order details Subform].Form![subttl]

When I run the form, I get #Error in the "Subtotals" textbox. I've done some basic error checking.... the value of [order details Subform].Form![subttl] is not null (I used an iif statement to check this), and it is not numeric (used iif with isnumeric). I can't get the value of [order details Subform].Form![subttl] to display anywhere, so I'm guessing that it just holds the value #Error.

Again, this is probably something simple, but right now my head feels like it's the size of a beach ball . Alright AOG, I know this is right up your alley

Heh, believe it or not, this is the first time I've ever tried pulling a total from a subform to the main form. OK, maybe you can believe it

View 11 Replies View Related

Calculating Total From A Subform

Oct 26, 2005

Hi,
Attached is a project I'm working on. We want to calculate the total delays on each day. In a form called 'main' there is a subform for the delays on that date. But the 'Total Delays' control does not work.
I have used the following format to get the total from the subform:
=Delays.Forms!TotalDelay
'TotalDelay' is the name of the control which calculates the total of the delays within the subform.
I have used the =[Delays].[Forms]![TotalDelay] format in other projects and it works. However in this program when I want to save the form, the control source is changed to :=Delays.Forms!TotalDelay (the brackets are removed)
Thank you

View 1 Replies View Related

Calculating Total In A Subform

Sep 17, 2004

I have a Main form with a sub form. Every record in the main form has multiple sub form records. (they are linked in a one to many relationship)

Each subform record has a "price" text box. I would like a total of all the "price" text boxes for that main record to be displayed in the main form.

It needs to be updated when a new subform record is added or changed.

Any help is welcomed. Thanks in advance
Joe

View 7 Replies View Related

Forms :: Grand Total Of Subform Datasheet

May 6, 2014

After having no luck with the standard datasheet E-Totals, i'm now trying to have a textbox on the main form that totals a subforms column called lineTotal.Line Total is a calculated query field that works out the Qty*cost.So say if they put in 5 lines on the subform, the textbox field will sum all of there linetotal and shows a rolling grand total.

View 10 Replies View Related

Forms :: Show Number Of Total Records In Subform?

Feb 15, 2014

I have a continuous subform. Because the records are often many, the user needs to scroll down the page.

How do I have a text box in each row that shows Record x of Total Records?

I tried setting a text box control source = [currentrecord] in the Detail area of the subform but it didn't work . It did weird things because I suspect the control is trying to show the record that has the focus or something

View 1 Replies View Related

Forms :: Calculations In Subform - Display Total Amount For All Records

Nov 20, 2014

I am trying to get the main form to display a total Amount for all records in Purchase order details but the control displays Error:

I have a Form called frmPurchaseOrder with a sub-form sbfrmPurchaseOrderDetails

sbfrmPurchaseOrderDetails takes item details from a table based on what is selected in the combo box then fills out four additional fields in the same sub-form.

SELECT tblItemListDetails.ItemID, tblItemListDetails.ItemName, tblItemListDetails.ItemSize, tblItemListDetails.ItemUnit, tblItemListDetails.ItemUnitCost, tblItemListDetails.ItemBrand FROM tblItemListDetails WHERE (((tblItemListDetails.Supplier)=[Forms]![frmPurchaseOrders]![SupplierCombo]));

Private Sub cmbItemName_Change()
Me.txtSize.Value = Me.cmbItemName.Column(2)

[Code] ....

View 5 Replies View Related

Forms :: DCount Function In Subform - Total Number Of Records

Jun 14, 2015

I am trying to count the number of records in a subform where the text box (txtFinal) = RPR-RPR & RTN. The subform is called PartNumbers. The table name the subform is bound to is named Completed.

I tried using =DCount("[Part Number]","Completed","[Final] = 'RPR-RPR & RTN'"). That is counting the total number of records in the table, not the total number of records in the subform. How do I get it to count the total number of records in the subform?

View 10 Replies View Related

Queries :: Self-Referencing Running Total Used To Calculate Next Total In A Query

Jul 23, 2015

I am trying to create a query that has a self referencing running total based on the values (point totals) of itself (running total of values in the running total column that have already been calculated for all previous records) plus the total of new points being added in the current record, less the total of points being removed in the current record. This running total can never go below 0, if it does, the running total should restart at zero and add in only new points and begin the process again with the next records

I am able to do this in Excel in less than two seconds so I know there has to be a way to port this into a query. I've attached an excel example of what I am exactly trying to do

If it takes multiple queries to complete the required output I am ok with it. In my previous outtakes I have had up to 8 queries but just couldn't seem to do it..

View 9 Replies View Related

Total Daily Sales Queries By Model/Total

Mar 8, 2008

Hi,

1) I am pretty newbie to this access programming, do forgive me if my questions sounds stupid.

2) Basically I create an application in access capturing or production information for my company. now the top management suddenly wanted whats their main concern:- Total Daily/Monthly, Quarterly, Annual Sales (By Model If possible)

3) I start with daily (Lets don't be too overly ambitious).

4) I try to let user select dates from my calender control and reflect daily sales (in Total & By Model break down) insert into my form.

5) Understand someone told me from my previous post in Calender control I can achieve it either through forms or queries, which is a better way. (in terms of flexibility to change for program maintenance/ scalibility) wise ?

PS: Please forgive my ignorance :o:(

Thanks (In advance) & God Bless.

View 2 Replies View Related

Problem With Total Of Sub-form Fields On Main Form

Nov 13, 2004

I'm trying to sum up the hours of a sub-form on the main form. I've followed the instructions in Access Help so far. I've created a text box in the footer of the sub form with the following control source:

=Sum([Mon])

which should sum up all the hours in HoursMon fileds.

Then I've created a text box on the main form with the following code in the Control Source

=[frmTshtProj Subform]!SumMon

But it doesn't work. I get a #Name? appear in the box instead of a total. Any ideas?

Thanks in advance

S

View 6 Replies View Related

Forms :: Sub Total From A Form To A Field In Another Form

Jun 16, 2015

I wanted to take the values from the frmInvoiveItems' [LineTotal] field, subtotal all of them for a given invoice ([InvoiceApplied]), and place them in a new field under frmInvoiceInfo that I haven't created yet.

(I.E. I have three different items under frmInvoiceItems for one invoice. They all have a different price. I want to add all of their prices together, and display them in a "Total" field in the frmInvoiceInfo table. This new "Total" field should be the total amount due minus the "Deposit" value and anything in tblTransactions [I still have to figure out how to assemble that too... another question for another time]).

Is all of this possible without me having to store the information in a query? How?

View 11 Replies View Related

Error In Total On Form

Mar 16, 2008

Okay, I know this is probably simple, but I am getting an error in putting a total on a form. I have the following:

Subform name is EntryDetail Subform
I have a field in the footer called TotalEntry that calculates the total entry. The formula is =sum([EntryAmt])

Form name is Entry
I have a textbox with the control =[Entry Subform].Form!TotalEntry

The text box shows #Name?

I am attaching a copy of the database.

Any ideas?

View 3 Replies View Related

Total On Order Form

Feb 14, 2006

Hi, could someone please help me, I don't know how to put a total on my order form, heres my system:
Gamez System (http://www.savefile.com/files/8723782)
Thanks, Bob

View 1 Replies View Related

Total Field In Sub-form

Sep 14, 2007

I have to count the number of records in a subform that meet certain criteria. I have a yes/no field and presently have a field in the subforms footer that =Count(*) and I would like to be able to count only the "Yes" records. Is there a way to use the count function to do this.

View 4 Replies View Related

Total On Order Form And Invoice

Jan 5, 2006

I am trying to add a total to my order form but i am finding it a bit tricky, but once i have done this i also need to create an invoice, which should be simple enough but is quite difficult because of the way the system has been put together....

View 4 Replies View Related

Forms :: Adding Total Box To A Form?

Aug 8, 2013

I am creating a database to track gifts to employees. The admin person will fill out a form for each gift and create a report with a total $ value for those gifts for the history of the employee.

I would like to create a box on the form that totals all of the $'s for the employee selected, so the admin can see what has been gifted before they start the next entry. They will select the employee from a drop-down list (Physician_ID) and when that selection is made, I would like to populate the Total_to_Date box on the form with a total of $ gifted for that employee from the NMC_Detail_Records table.

View 5 Replies View Related

Forms :: Total Sum Not Showing Up In Form

Aug 27, 2014

I have a query that has a total sum , my problem is when i create form all the fields in the query is visible in the form but my total sum doesnt show up, but when i view it in query it works properly.

I don't really know what the symbol really is called i just called it total sum, the E icon in query ....

View 7 Replies View Related

Add Together A Running Total On Input Fields In A Form?

Aug 28, 2005

Hello, I have 4 input field boxes in a form: "basic hours", "overtime hours", "holiday hours" and "total hours" i would like it so that when the user enters number(s) into the other field(s) the total field will calculate (add togther the other fields). So for example if the user puts "10" in the "basic hours" input field and "5" in the overtime hours" field then the "toal field" will display the number "15". i would like it so that the "total hours" field calculates the total progressively after each number in the other fields is input (ie a running total is displayed). The user will always fill in basic hours but 1 or more of the other fields can be left blank. I think i need to do some VB on the after update procedure for each field entry but not sure what the code is?, any help would be brilliant.

View 7 Replies View Related

Show Total Entries From A Table On A Form

May 14, 2006

hi

i am trying to show the total number of records that are in a table.

there are currently 8 entries in the table 'applications'

now i would like to show this on a tabcontrol in a form. I have been told to use Dcount. I have read about this and tried this on my form but unfortunately its not working.

Can anyone show me an example of how i would do this.

View 1 Replies View Related

Query Aggregate Value Won't Subtract From Form Total

Nov 7, 2006

Here's a sticky one? (maybe...) I have a number of aggregate totals from several queries all linked to the Input Query and all Nz'd as 0's

From the image enclosed the totaling text box (top right left) is calculating the value in the properties box. The value should be 3.52 + 5 - 8 = 0.52 the value showing is -4.475 (which is 3.52 - 8) so I see it's ignoring the 5 value but I can't see why.

The ACDays and ALDays values are both generated by the same module, but with different Leave types. and as I mentioned previously all Nz 0'd

Any thoughts appreciated, I'm baffled:confused:

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved