If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Conditional SUM, in Textbox
Hello.
In one table I have IdPassage, IdChunk, and ChunkValue fields. The Passage is composed for Chunks. The addition the Sum of Chunks is the length of the Passage. In a Form I need to SUM the ChunkValue, only of the same Passage. How I can make this, please? Anticipatedly grateful. an |
#2
|
|||
|
|||
Hi, an.
I'm assuming that you have a table called Passages, and that it has a one-to-many relationship with the table you describe. Create a main form based on Passages, and create a continuous subform based on Chunks, linked by the IDPassage field. Then in the subform footer, place a control with the Control Source set to: =Sum(Nz([ChunkValue])) "an" wrote: Hello. In one table I have IdPassage, IdChunk, and ChunkValue fields. The Passage is composed for Chunks. The addition the Sum of Chunks is the length of the Passage. In a Form I need to SUM the ChunkValue, only of the same Passage. How I can make this, please? Anticipatedly grateful. an |
#3
|
|||
|
|||
Thanks, S.
And if I need to COUNT the number of ID's (records) there are with same Passage, please? Thanks in advance. an -----Original Message----- Hi, an. I'm assuming that you have a table called Passages, and that it has a one-to-many relationship with the table you describe. Create a main form based on Passages, and create a continuous subform based on Chunks, linked by the IDPassage field. Then in the subform footer, place a control with the Control Source set to: =Sum(Nz([ChunkValue])) "an" wrote: Hello. In one table I have IdPassage, IdChunk, and ChunkValue fields. The Passage is composed for Chunks. The addition the Sum of Chunks is the length of the Passage. In a Form I need to SUM the ChunkValue, only of the same Passage. How I can make this, please? Anticipatedly grateful. an . |
#4
|
|||
|
|||
Similarly, in a subform footer control, set the Control Source to
=Count([IDChunk]) HTH Sprinks "an" wrote: Thanks, S. And if I need to COUNT the number of ID's (records) there are with same Passage, please? Thanks in advance. an -----Original Message----- Hi, an. I'm assuming that you have a table called Passages, and that it has a one-to-many relationship with the table you describe. Create a main form based on Passages, and create a continuous subform based on Chunks, linked by the IDPassage field. Then in the subform footer, place a control with the Control Source set to: =Sum(Nz([ChunkValue])) "an" wrote: Hello. In one table I have IdPassage, IdChunk, and ChunkValue fields. The Passage is composed for Chunks. The addition the Sum of Chunks is the length of the Passage. In a Form I need to SUM the ChunkValue, only of the same Passage. How I can make this, please? Anticipatedly grateful. an . |
#5
|
|||
|
|||
Many thanks, S, for your help.
have you a good weekend. an -----Original Message----- Similarly, in a subform footer control, set the Control Source to =Count([IDChunk]) HTH Sprinks "an" wrote: Thanks, S. And if I need to COUNT the number of ID's (records) there are with same Passage, please? Thanks in advance. an -----Original Message----- Hi, an. I'm assuming that you have a table called Passages, and that it has a one-to-many relationship with the table you describe. Create a main form based on Passages, and create a continuous subform based on Chunks, linked by the IDPassage field. Then in the subform footer, place a control with the Control Source set to: =Sum(Nz([ChunkValue])) "an" wrote: Hello. In one table I have IdPassage, IdChunk, and ChunkValue fields. The Passage is composed for Chunks. The addition the Sum of Chunks is the length of the Passage. In a Form I need to SUM the ChunkValue, only of the same Passage. How I can make this, please? Anticipatedly grateful. an . . |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HOW DO I EDIT A CONDITIONAL FORMAT? | WillRn | General Discussion | 0 | October 25th, 2004 06:37 PM |
textbox used as report parameter | jh | Setting Up & Running Reports | 4 | October 21st, 2004 06:59 PM |
Required Field Conditional | Katherine R | New Users | 2 | September 1st, 2004 05:52 AM |
textbox formatting problem | jeffrey c | Powerpoint | 4 | August 21st, 2004 10:09 AM |
Copy Conditional Formatting | Bianca | Worksheet Functions | 2 | August 9th, 2004 01:47 PM |