Hi,
I have much of my database experience with Access, and I hope to be able
to do some stuff with FileMaker. Not so obvious yet...
How do I get a field that will give me the sum of the value of all
records in one field? In Access, I could just put an unbound field with
sum(FieldName) in the record source.
Or I could write a SQL query like
select sum(fieldname)
from tablename
However, with filemaker I am stuck.
Anyone can help? Thanks
Michel
|
|
0
|
|
|
|
Reply
|
alvb
|
4/23/2005 11:01:17 AM |
|
Michel,
You have to create a relationship from the file/table to itself (a
self-join) and then apply the sum() function to the related field. The
FileMaker help is pretty good on this one.
Jeroen Aarts
*-*-*-*-*-*-*-*-*-*-*
Tasty Bytes
www.tastybytes.be
*-*-*-*-*-*-*-*-*-*-*
"alvb" <midion821@REMOVErogers.ca> wrote in message
news:midion821-FEF811.07011723042005@news.isp.giganews.com...
> Hi,
>
> I have much of my database experience with Access, and I hope to be able
> to do some stuff with FileMaker. Not so obvious yet...
>
> How do I get a field that will give me the sum of the value of all
> records in one field? In Access, I could just put an unbound field with
> sum(FieldName) in the record source.
>
> Or I could write a SQL query like
> select sum(fieldname)
> from tablename
>
> However, with filemaker I am stuck.
>
> Anyone can help? Thanks
>
> Michel
|
|
0
|
|
|
|
Reply
|
Jeroen
|
4/23/2005 3:13:08 PM
|
|
Hello,
Thanks. OK, I will do that. I am also very open to reading the
manual/documentation. I am still stuck in the MS Access framework, but
I think FileMaker is still somewhat strong enough. Could you tell me
more specifically where in the help in could find info on this topic.
Michel
In article <426a65eb$0$7753$ba620e4c@news.skynet.be>,
"Jeroen Aarts" <jeraarts@NSantwerpen.be> wrote:
> Michel,
>
> You have to create a relationship from the file/table to itself (a
> self-join) and then apply the sum() function to the related field. The
> FileMaker help is pretty good on this one.
>
> Jeroen Aarts
>
> *-*-*-*-*-*-*-*-*-*-*
> Tasty Bytes
> www.tastybytes.be
> *-*-*-*-*-*-*-*-*-*-*
>
>
> "alvb" <midion821@REMOVErogers.ca> wrote in message
> news:midion821-FEF811.07011723042005@news.isp.giganews.com...
> > Hi,
> >
> > I have much of my database experience with Access, and I hope to be able
> > to do some stuff with FileMaker. Not so obvious yet...
> >
> > How do I get a field that will give me the sum of the value of all
> > records in one field? In Access, I could just put an unbound field with
> > sum(FieldName) in the record source.
> >
> > Or I could write a SQL query like
> > select sum(fieldname)
> > from tablename
> >
> > However, with filemaker I am stuck.
> >
> > Anyone can help? Thanks
> >
> > Michel
|
|
0
|
|
|
|
Reply
|
alvb
|
4/23/2005 8:21:22 PM
|
|
Just pull open the "help" menu, choose "FileMaker Help" and search "sum()"
;-)
You will see that if the argument of the sum() function is a related field,
the result is the sum of all the related values. To get the sum of the
values of all records of a file/table, you have to create a so-called
"constant" relationship (FMP <7) or a "cross-product" relationship (FMP 7).
Do a search in the posts of this newsgroup and you sure will find usefull
information about this topic.
HTH
Jeroen Aarts
*-*-*-*-*-*-*-*-*-*-*
Tasty Bytes
www.tastybytes.be
*-*-*-*-*-*-*-*-*-*-*
"alvb" <midion821@REMOVErogers.ca> wrote in message
news:midion821-F5D2AB.16212223042005@news.isp.giganews.com...
> Hello,
>
> Thanks. OK, I will do that. I am also very open to reading the
> manual/documentation. I am still stuck in the MS Access framework, but
> I think FileMaker is still somewhat strong enough. Could you tell me
> more specifically where in the help in could find info on this topic.
>
> Michel
>
> In article <426a65eb$0$7753$ba620e4c@news.skynet.be>,
> "Jeroen Aarts" <jeraarts@NSantwerpen.be> wrote:
>
>> Michel,
>>
>> You have to create a relationship from the file/table to itself (a
>> self-join) and then apply the sum() function to the related field. The
>> FileMaker help is pretty good on this one.
>>
>> Jeroen Aarts
>>
>> *-*-*-*-*-*-*-*-*-*-*
>> Tasty Bytes
>> www.tastybytes.be
>> *-*-*-*-*-*-*-*-*-*-*
>>
>>
>> "alvb" <midion821@REMOVErogers.ca> wrote in message
>> news:midion821-FEF811.07011723042005@news.isp.giganews.com...
>> > Hi,
>> >
>> > I have much of my database experience with Access, and I hope to be
>> > able
>> > to do some stuff with FileMaker. Not so obvious yet...
>> >
>> > How do I get a field that will give me the sum of the value of all
>> > records in one field? In Access, I could just put an unbound field
>> > with
>> > sum(FieldName) in the record source.
>> >
>> > Or I could write a SQL query like
>> > select sum(fieldname)
>> > from tablename
>> >
>> > However, with filemaker I am stuck.
>> >
>> > Anyone can help? Thanks
>> >
>> > Michel
|
|
0
|
|
|
|
Reply
|
Jeroen
|
4/24/2005 3:53:51 PM
|
|
Help -> Filemaker Help -> Search tab
enter "Sum"
First match: "Sum function"
Type in
In article <midion821-F5D2AB.16212223042005@news.isp.giganews.com>,
midion821@REMOVErogers.ca says...
> Hello,
>
> Thanks. OK, I will do that. I am also very open to reading the
> manual/documentation. I am still stuck in the MS Access framework, but
> I think FileMaker is still somewhat strong enough. Could you tell me
> more specifically where in the help in could find info on this topic.
>
> Michel
>
> In article <426a65eb$0$7753$ba620e4c@news.skynet.be>,
> "Jeroen Aarts" <jeraarts@NSantwerpen.be> wrote:
>
> > Michel,
> >
> > You have to create a relationship from the file/table to itself (a
> > self-join) and then apply the sum() function to the related field. The
> > FileMaker help is pretty good on this one.
> >
> > Jeroen Aarts
> >
> > *-*-*-*-*-*-*-*-*-*-*
> > Tasty Bytes
> > www.tastybytes.be
> > *-*-*-*-*-*-*-*-*-*-*
> >
> >
> > "alvb" <midion821@REMOVErogers.ca> wrote in message
> > news:midion821-FEF811.07011723042005@news.isp.giganews.com...
> > > Hi,
> > >
> > > I have much of my database experience with Access, and I hope to be able
> > > to do some stuff with FileMaker. Not so obvious yet...
> > >
> > > How do I get a field that will give me the sum of the value of all
> > > records in one field? In Access, I could just put an unbound field with
> > > sum(FieldName) in the record source.
> > >
> > > Or I could write a SQL query like
> > > select sum(fieldname)
> > > from tablename
> > >
> > > However, with filemaker I am stuck.
> > >
> > > Anyone can help? Thanks
> > >
> > > Michel
>
|
|
0
|
|
|
|
Reply
|
42
|
4/24/2005 8:16:41 PM
|
|
|
4 Replies
1244 Views
(page loaded in 0.058 seconds)
Similiar Articles: Sum the value of all records in one field - comp.databases ...Hi, I have much of my database experience with Access, and I hope to be able to do some stuff with FileMaker. Not so obvious yet... How do I get a field that will ... Calculate totals across multiple records - comp.databases ...I have a database with a number value in one field of each record. I want to display the sum total of this value for all records (or found records) in... Value of Sum() or Count() for empty recordset - comp.databases.ms ...Sum the value of all records in one field - comp.databases ... Value of Sum() or Count() for empty recordset - comp.databases.ms ..... add another field named 'test', that ... changing value of repeating field in relationship - comp.databases ...Sum the value of all records in one field - comp.databases ... changing value of repeating field in relationship - comp.databases ..... comp.databases.filemaker The Sum ... Lookup: Howto display one field and store the value of another ...... to have a text field > > with a popup, where all suppliers are displayed and the user can > > choose one, but in the record ... Howto display one field and store the value ... Relationship - finding one field based on value in another - comp ...Sum the value of all records in one field - comp.databases ... Sum the value of all records in one field - comp.databases ... Assign value based on value field in ... Count repeat of value across all records - comp.databases ...Sum the value of all records in one field - comp.databases ... Count repeat of value across all records - comp.databases ... Sum the value of all records in one field ... match importing on a repeating field - comp.databases.filemaker ...But the match seems to only find the first value in the field, and then creates new records for any additional IDs. Any ideas or work-arounds? Assign value based on value field in query - comp.databases.ms ...Sum the value of all records in one field - comp.databases ... Assign value based on value field in query - comp.databases.ms ... Sum the value of all records in one field ... How to use a global field across shared databases - comp.databases ...Sum the value of all records in one field - comp.databases ... How to use a global field across shared databases - comp.databases ... Sum the value of all records in one ... Sum the value of all records in one field - RhinocerusHi, I have much of my database experience with Access, and I hope to be able to do some stuff with FileMaker. Not so obvious yet... How do I get a field that will ... Sum the value of all records in one field - comp.databases ...Hi, I have much of my database experience with Access, and I hope to be able to do some stuff with FileMaker. Not so obvious yet... How do I get a field that will ... 7/24/2012 4:43:52 PM
|