Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Importing / Linking / May 2008

Tip: Looking for answers? Try searching our database.

Please help!!! Tables

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alimbilo - 21 May 2008 06:57 GMT
I need a formula to Sum the fields of a different table to a form that needs
those data.

Example:

Form name: Books
Table1 (field: total books)
Table2 (fields: old books, new books)

In the Books form, I want Total  Books from Table1 to be the Sum of table2
fields
Jeff Boyce - 21 May 2008 13:23 GMT
What have you tried already?

Signature

Regards

Jeff Boyce
www.InformationFutures.net

Microsoft Office/Access MVP
http://mvp.support.microsoft.com/

Microsoft IT Academy Program Mentor
http://microsoftitacademy.com/

> I need a formula to Sum the fields of a different table to a form that needs
> those data.
[quoted text clipped - 7 lines]
> In the Books form, I want Total  Books from Table1 to be the Sum of table2
> fields
Alimbilo - 21 May 2008 13:40 GMT
I didn't try anything yet. That's the reason why I am asking for help.
Thanks

> What have you tried already?
>
[quoted text clipped - 10 lines]
> > In the Books form, I want Total  Books from Table1 to be the Sum of table2
> > fields
Jeanette Cunningham - 22 May 2008 05:08 GMT
Alimbilo,
start by creating a query using table2.
Put old books in the first column and new books in the second column.
In query design, right click on the query grid and choose Totals from the
list.
In the Group By row click the drop down list and choose Sum for both fields.
Switch to datasheet view to see the totals for each column.
Save the query.
Use this query to create a form using the forn wizard.

You should end up with 2 textboxes showing the sum for old books and new
books.

To see the total you can create a calculated field on the form.
Put an unbound text box on the form.
For its rowsource put an expression something like this:
=Sum(Nz([OldBooks],0) + Nz([NewBooks],0))

This text box should show the total number of all books.

Note: Replace OldBooks and NewBooks with the real field names from your
query.

Jeanette Cunningham -- Melbourne Victoria Australia

>I didn't try anything yet. That's the reason why I am asking for help.
> Thanks
[quoted text clipped - 14 lines]
>> > table2
>> > fields
Jeff Boyce - 22 May 2008 13:44 GMT
A suggestion for future posts... if you ask for help on something you've
already tried to solve, folks may be more willing to volunteer their time to
help you.

Signature

Regards

Jeff Boyce
www.InformationFutures.net

Microsoft Office/Access MVP
http://mvp.support.microsoft.com/

Microsoft IT Academy Program Mentor
http://microsoftitacademy.com/

> I didn't try anything yet. That's the reason why I am asking for help.
> Thanks
[quoted text clipped - 13 lines]
> > > In the Books form, I want Total  Books from Table1 to be the Sum of table2
> > > fields
MOUKALA  Thomas - 22 May 2008 17:58 GMT
vous m emmerdez
>I need a formula to Sum the fields of a different table to a form that
>needs
[quoted text clipped - 8 lines]
> In the Books form, I want Total  Books from Table1 to be the Sum of table2
> fields
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.