Hopefully An Easy One About Form Totals...

May 25, 2007

Hi,

I have a form that staff fill in to indicate whether they have taken or recieved time-owing on a particular date. The form opens on a new event, you enter the date (access calendar), your name (dropdown list), how many hours you are owed from that day, and in the last box any time you have taken back that day.

What I would like to do is have a text box that calculates the total time left ("owed" minus "taken" for all dates) for each person, so that when the name is entered on the form, the box will display the total for that person.

Sorry if I have not explained this clearly...

View Replies


ADVERTISEMENT

Form Looks: Easy Question...

May 6, 2005

Hi guys,

I'm sure this is easy to do, but I can't figure out where to find the name of this bar to search for it online or in the help...

But how do I turn off this grey bar along the side? <picture included>

Thanks for your help,
Sab.

View 4 Replies View Related

Totals Query/sums/grand Totals

Sep 4, 2007

Hey all! This is my first post. Been searching through the net all day trying to find a solution to this problem. Basically i have a table that looks like this (regular text is what i have and bolded text is what I need:Name Date Qty MOBrad 12/12/2007 23323 4423John 12/11/2007 3445 4432 John 12/11/2007 344 4432 John 12/11/2007 45 4432 John 12/11/2007 44 4432 John 12/11/2007 3445 4432 Grand Total: (Qty)And then I'd like to be able to carry this over and display a grand total at the bottom of every page of a report that I would need to generate. Our company produces forms and we sometimes have 60 - 70 people working on a single job. We want to see their hours individually but we would also like to see a grand sum of all their hours. If someone could help with this or needs more info let me know. Thanks for all your help!

View 14 Replies View Related

Adding A Msgbox To A Search Form - Easy Peasy Except For Me :)

Sep 11, 2005

I have a code for a free text search form which will return records in another window when the search button is clicked.


CODE
Private Sub cmdSearch_Click()

If Len(cboSearchField) = 0 Or IsNull(cboSearchField) = True Then
MsgBox "You must select a field to search."

ElseIf Len(txtSearchString) = 0 Or IsNull(txtSearchString) = True Then
MsgBox "You must enter a search string."

Else
'Generate search criteria
GCriteria = cboSearchField.Value & " LIKE '*" & txtSearchString & "*'"

'Filter frmRhinitis based on search criteria
Form_frmRhinitis.RecordSource = "select * from tblBaseline where " & GCriteria
Form_frmRhinitis.Caption = "Customers (" & cboSearchField.Value & " contains '*" & txtSearchString & "*')"

MsgBox "Results have been filtered."


End If

End Sub





However, even if no records match the criteria the window will return a "Results have been filtered" but return a blank form. How do I include code that will return a "Match cannot be found" MsgBox if the search string isnt found?


Thanks :)

View 3 Replies View Related

Forms :: Picking Up Sub Form Totals From A Main Form?

Mar 22, 2013

I have converted an old Access 97 database to Access 2010. Mostly it works fine but I have a major issue with the invoicing forms. It was working in the old database but I cannot get it to work in this version.

I have the usual invoicing option where the lines of the invoice are displayed in a sub form for that customer and line totals calculated. This works fine. I have a sub form total text box in the footer of the sub form which I want to pick up from the main form so that I can add the delivery charge and VAT.

View 6 Replies View Related

Totals On The Form

Aug 8, 2005

Hi,

I'm trying to get a total which runs off of a query in a listbox (disguised as a textbox) to always show 1 decimal place. Right now, it'll show one decimal place only if the number is rational. If the number is whole, it doesn't show any.

E.g. For 8.5, it'll show 8.5
For 8, it'll show 8, not 8.0

I want it to show 8.0

Any help would be much appreciated.

View 5 Replies View Related

Group Totals N Form

Apr 7, 2008

Hi there! can anyone help me with this. Im doing a form that will compute the detailed totals. How can i do that in a form? Thanks in advance! your help is much appreciated!

View 1 Replies View Related

Calculating Totals In A Form

Mar 13, 2007

I have been going over this too much, and i haven't been able to figure it out, It is probably easy solution i am overlooking.

I have a form with a subform that has 2 fields that i want to total separately and then get a grand total.

I also want the user to be able to update the fields which updates the totals.

Anyone have any suggestions
Thanks in advance!

View 3 Replies View Related

Forms :: Sub Form / Main Form Sub Totals

Aug 11, 2014

I have a database that tracks workorders and then the associated invoices that result froma workorder. The process is that the user creates a workorder and when an invoice related to the workorder comes in, they register the invoice and select the workorder it belongs to.I have a form (DFRM_PayrollWorkorders) that allows the user to display the workorder. This form contains a sub form DFRM_PayrollInvoices_Summary that displays any invoices that have been registered against the workorder id. Sample screen attached. In the sub form, I have added two expressions ,

=Count([InvoiceNumber]) and =Sum([InvoiceValueTotal]).
In the work order form I have added two expressions, =[DTBL_PayrollInvoices_Summary].[Form]![Invoice_Count] and =[DTBL_PayrollInvoices_Summary].[Form]![Invoice_Sum].

The above simply displays the total invoice count and total invoice amount for any invoices associated with the work order being dsiplayed on screen.

My issue is, whenever there are no invoices for the work order, I get #Error in the =[DTBL_PayrollInvoices_Summary].[Form]![Invoice_Count] and =[DTBL_PayrollInvoices_Summary].[Form]![Invoice_Sum] expressions.

Ideally, I'd just like the count and sum expressions to show blank or 0.

View 2 Replies View Related

Forms :: Form Won't Calculate Totals

Feb 5, 2014

I am having trouble on the Work Orders Form to get the SubTotal to calculate correctly.

The SubTotal Control Source is:

Code:

=DLookUp("[Services Total]","[Services Total]","[WOrderID] = '" & [txtWOrderID] & "'")+DLookUp("[Parts Total]","[Parts Total]","[WOrderID] = '" & [txtWOrderID] & "'")

The Form Record Source is:

Code:
SELECT DISTINCT [Work Order].*, [Payment Total].[Payment Total], [Services Total].[Services Total], [Parts Total].[Parts Total] FROM (([Work Order] LEFT JOIN [Parts Total] ON [Work Order].WOrderID = [Parts Total].WOrderID) LEFT JOIN [Payment Total] ON [Work Order].WOrderID = [Payment Total].WOrderID) LEFT JOIN [Services Total] ON [Work Order].WOrderID = [Services Total].WOrderID;

why my form won't calculate totals?

View 2 Replies View Related

Summing Totals In A Form - ? Table View

May 1, 2005

Would someone be kind enough to look at the following two attached mini databases. I have this recurring problem when I set things up that I cannot get some figures to appear in the table - only on the form.

In Example 1 I am trying to get the Total Score to show up.

In Example 2 I am trying to get the corresponding score to the description to show up.

I think it is something to do with me referencing the field not the look-up table but I really don't know any more.

Thanks

View 2 Replies View Related

Forms :: Recording Data (Totals) Onto Form

Apr 30, 2013

I have created a form to input invoice details with a sub form to input the products with the prices etc.

This all works fine but now I want to create totals such as Total Goods, Total VAT and Invoice Total.

After many searches of the internet, I found out how to do this and put in the calculations which works fine and displays on the main form without a problem.

Now I have a problem as these need to be saved to one of my tables.

As these are unbound text boxes with only the calculation on, the data is not being recorded onto the form which is what I want.

Do I have to create a macro of some sort to do this or?

I have included a few images of what I have done but if you would like the database file I can upload that (I will take away all the information that is sensitive to me if that is okay?)

View 4 Replies View Related

Form With Subform Doesn't Show Totals Unless Keyed

Aug 2, 2007

I have an application that has two tables, linked on a common key. The main data entry form is for invoices, and has a sub-form for parts used. A similar report/sub-report is used for reporting. Everything is fine for records that are entered via the form. My problem is that when I import data from other sources ( consolidation process ) the calculations are not performed. So when those records are displayed no totals appear until I click on a control that drives the calculations. I don't want to store totals in the database but I need to have them reflected on the viewed form without operator intervention. Otherwise I'm open to incorrect decisions when the operator doesn't notice that an invoice doesn't reflect the cost of parts used.I'm looking for a "one-time" process that I can invoke after loading new data that would "touch" each record (ideally each "new" record but there's no impact to re-calculating existing ones) and drive the calculations so that the viewed form is correct.It doesn't need to be "easy" or automated since the end users won't do it, only myself as part of the data consolidation.Any ideas?Thanks

View 14 Replies View Related

Forms :: Pulling Totals From Total Row Into Form Textbox?

Dec 13, 2013

The new database that I am building will be used as a point system based on attendance. This means that I will have a main form that a few users will utilize to look up an employee's score. So far, I have a combobox (cmbEmployeeDropDown) that lists the query for each employee using the following:

Row Source:

Code:
SELECT [Name] FROM MSysObjects WHERE [Type]=5 AND [Flags]=0 ORDER BY [Name];

Row Source Type: Table/Query

From this combobox selection I would like the totals from the Total row in the query to appear in textboxes on the form (txtTotalPoints, for example).

Is this possible to do or is there a better way to do this?

View 14 Replies View Related

Forms :: Getting Totals From A Subform Into A Field On Main Form

Feb 13, 2015

I have a music database. It's somewhat over the top in terms of the information stored in it, but I like it. My issue is with getting the total number of tracks, as well as the total duration, for a given album (and for each disc, but if I can solve one that should also solve the other).

I have a lot of tables and forms, but for this problem I only need to deal with two of each. They are the tables for albums, the table for tracks, and their associated forms.

In my album table I have information such as album title, artist, release date, and album length. The tracks table contains information on each song - track title, track number, parent album, and track length.

My main form is for the album itself, and contains a subform for the tracks on said album. They correspond to the relevant tables.

What I want to do is obtain the value of the album length by calculating the sum of the track lengths for that album, and the number of tracks. Easy enough - Sum(TrackLength) and Count(TrackID) respectively, both of which can be stored in the footer of the subform.

My problem is that, rather than simply copying those values into text boxes on the main form, I want to copy them into actual fields in the album table. Furthermore, I want them to update as I add or edit the track lengths in the subform.

View 4 Replies View Related

DataMacro - Calculate And Display Totals On Parent Form

Apr 16, 2012

I have a form, with a sub-form, from which a call a datamacro to calculate totals(from the same table as the control source of the sub-form) and then want to display the totals on the parent form!! The RETURNVARS all have the correct total values, but i cant assign them to a control on the parent form!! none of the controls are recognized when i try and set the PROPERTY VALUE to the totals? (spellings are definitely correct)...

View 2 Replies View Related

Queries :: Column Totals To Display On A Form - Auto Refresh After 2 Minutes

Mar 5, 2014

I have a database which has a table for the quotes prepared, each record has a quote amount. In a query linked to that table I have the ability to get just a specific month view which shows all totals in that month. I want to calculate a grand total for the amounts shown in quote amount:

Record 1 : 100.00
Record 2 : 100.00
Record 3 : 50.00

Grand total : 250.00

Then I want to display this grand total on a form which is visable on a screen based in the office that has an auto refresh on it so after 2 minutes any new records added to the table will increase the grand total on the form on the screen.

I have worked out how to do the totals bit, but now I need getting this figure (I.e. 250.00) on a form without having to run the query and have it looking in the background.

View 3 Replies View Related

Forms :: Continuous Form With Textfields As Records - List Of Years With Totals Of Hours

Jul 1, 2015

I have a continious form with textfields as records. Its about total course hours that are calculated. There is a field in the records that holds and calculates the hourse that one have done and another field that holds the max hours they may follow for one year.

Every record has h different year.

When the amount of hours in the transmission textfield is negative, they can transmit the hours to te next year. Therefore i have to calculate the Max hours per Year + the transmission hours.

So the calculation is not a problem. Though i don't actually know where i can trigger the calculation. I have tried it with a button on the form, but then the user always have to click to see the right amount of hours for the next year. That's not handy. I am looking for a way to automatically calculate the field Max hours per year. Given that the Max hours per year is a bound field, its bound to a table where i stock the Max hours that i have calculated.

I also tried it with the button that's used for inserting new course hours, but then it calculates with the old values instead of the new ones.

How can i trigger the calculation automatically without using a button.

View 1 Replies View Related

General :: Obtain Totals From Two Columns In List Box Into Text Boxes On Main Form

Oct 27, 2012

I am trying to obtain totals from two columns in the list box into text boxes on the main form, but my third argument is not working as expected.The source of one of the tex boxes is:

Code:
=DSum("Airtickets","T_Training_Participants.ProgrammeID=Me.lstParticipants")

I want to sum only amounts of the records that equal or belong to a selected programme (ProgrammeID) in the bigger list box above.

View 2 Replies View Related

Should Be Easy

Jun 1, 2005

I want to have code that disables fields based on the value of the contents of one of the fields. I wrote this code which goes on and on but it doesn't work. Can someone help?

Private Sub Form_Open(Cancel As Integer)

Dim Item_Number As String

If Me.Item_Number = "300123C" Then
Me.Batch_Lot_Number.Enabled = False
Me.Issue_Date.Enabled = False
Me.Production_to_BPT.Enabled = True

Elseif blah blah blah

else blah


Endif

End sub

View 3 Replies View Related

I Know This Must Be Easy!

Mar 22, 2005

I don't normally work in access so I am sure I am asking a really easy question.

I have a table that is connected to a form where users enter survey data. Currently they have a drop down form to mark the responses to the survey as "Fully Completed", "Partly Completed", etc.

On the table I want to add the text "Awaiting Completion" to all those without any entry so that we can find out how many are left to do.

I can filter the table to give me the correct records, and assumed I could paste the text directly into the column (as with Excel).

Can anyone please let me know how to update the column easily.

Thanks for your advice.

Chris

View 2 Replies View Related

Should Be An Easy One...I Think!

Mar 30, 2006

Warning - Complete newbie post!

Hi all,

I have 2 Access databases setup, each containing 1 table. Let's call them A and B. These two tables contain some of the same fields.

Table A is used for collecting new client registration info through our website and gets updated by SQL.

Table B is on a different server and is used for company newsletter mailings.

Table A is the one which is automatically being updated so I don't need to do anything with that table. Also, some fields in Table A are auto-incrementing numbers so we can differentiate a clients interest and provide a more informative newsletter for them specifically on their selected interest.

Whenever an entry in certain fields of Table A is made, I would like the same fields of Table B to be updated with that same information automatically. For example...

Client subscribes to our newsletter on our site and selects their interests, the email field now contains the subscribers email address and the various 'interest' fields contain a '1' telling us they are interested in that particular area of our business. As this takes place on Table A, it needs to be also replicated to Table B.

Surely this is possible, but how?

View 1 Replies View Related

This Is Probably Easy To Do

Apr 18, 2006

As I am an SQL novice I need some help

I have 3 tables

Table - Fields
SalesLedger - TransactionID, ProductID
Vouchers - TransactionID, Voucher_Ref
Products - ProductID, Product_Description

The Salesledger has fields TransactionID and ProductID

The Salesledger is linked to the Products table by the ProductID field

The SalesLedger is linked to the Voucher Table by the TransactionID field

How do I produce a query to list all the items in the Salesledger but if there is a Product in the Products Table matching the ProductID the Product details, and if there is a TransactronID in the Voucher Table list the VoucherRef.

At the moment, it only shows transactions if there is a corrosponding TransactionID in the Vouchers Table

Probably not explaned this at all well. I will try to elborate if required.

View 1 Replies View Related

Easy If You Know How

Jun 24, 2005

Hi all,

I am making a query which sorts birthdays into chronological order.

I have used the DatePart function to determine the month:

DatePart("m",[DATE OF BIRTH])

But I want to know how to display the month in CAPITAL LETTERS, i.e. instead of reading 1 it reads JANUARY

Thanks in advance

View 7 Replies View Related

Probably Easy To Do But.....

Feb 16, 2006

I have a list in Xcel of approximately 1100 client #'s that I have to match to our master list of 10000's.

I can create a query to pull these Clients, but I'd like it to only pull the 1100 requested. Is there a way to import an excel file to bump up against a query so that it only pulls the requested clients?

IE do I have to create a table and bring that data in then use them both in the query?

Sorry if this is a simple question, I'm just being thrown into the fire and have very little access background.

View 1 Replies View Related

Easy One...

Mar 2, 2006

To start: Running Office 20003. I have created a survey with Frontpages wizard. Basically It has a topic and the end user rates that topic on a scale of one to five like so:

1. Work Environment
a. I enjoy my work place. 12345
b. I think my office has a good reputation. 12345

1-5 are radial buttons. It takes the users input and stores it in an access database as im sure you all are aware. Looks kinda like this:

1a 1b 2a etc.
3 5 1

What i would like to do is this: When the users are done submitting i would like to go back and take results. I.e. we had this many users select option 3 for question 1a and we had _ number of users select option 2 for 1a, etc.
The thing is i was wondering if there was a way to create a query for it. I know i could just put =1 or =2 but that would require running 5 queries on each question.... not fun. Anyway, any help would be appreciated.

Thanks,

Viko

View 1 Replies View Related







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