dbTalk Databases Forums  

Counting In Portal

comp.databases.filemaker comp.databases.filemaker


Discuss Counting In Portal in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Nick Marshall
 
Posts: n/a

Default Counting In Portal - 08-30-2005 , 12:02 PM







Hi,

I am attempting to count in a portal but Iım not getting the required
results.
I have 2 databases which are related by ID, and they are Assessor_name and
Samples. Each Assessor has an individual ID and each sample they do is
assigned that Assessors ID.
What I am trying to achieve is a running total for each Assessor of the
units they have sampled. For example, Joe Bloggs might have completed 10
samples. 5 of these are A, 3 are B and 2 are C. How can I programme a
calculation field to achieve this?

Thanks in advance,



Nick



Reply With Quote
  #2  
Old   
Bill
 
Posts: n/a

Default Re: Counting In Portal - 08-30-2005 , 03:07 PM






In article <BF3A4FC9.937D%nick (AT) span (DOT) org.uk>,
Nick Marshall <nick (AT) span (DOT) org.uk> wrote:

Quote:
Hi,

I am attempting to count in a portal but Iım not getting the required
results.
I have 2 databases which are related by ID, and they are Assessor_name and
Samples. Each Assessor has an individual ID and each sample they do is
assigned that Assessors ID.
What I am trying to achieve is a running total for each Assessor of the
units they have sampled. For example, Joe Bloggs might have completed 10
samples. 5 of these are A, 3 are B and 2 are C. How can I programme a
calculation field to achieve this?

Thanks in advance,



Nick
Define a calculation field in the Assessor table, using the Count
function to count related Samples, thus:

Sample_This_Assessor = Count(Samples::AssessorID)

This will count the number of occurrences of the AssessorID in the
related Sample records.

You could use a different field in the Sample table (other than
AssessorID) as the basis for the count, just so long as every Sample
record has something in that field.

Bill

--
For email, remove invalid.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.