Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Filemaker > Re: calculation...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 10 Topic 8132 of 8263
Post > Topic >>

Re: calculation based on multiple records in related fields?

by dh003i <dh003i@[EMAIL PROTECTED] > Jun 25, 2008 at 06:17 AM

On Jun 24, 7:52=A0pm, Grip <g...@[EMAIL PROTECTED]
> wrote:
> On Jun 24, 5:41 pm, dh003i <dh0...@[EMAIL PROTECTED]
> wrote:
>
> > I have a database (gMouse), which is for keeping track of our lab's
> > mouse inventory. There is a Cages table and a Mouse Table. Within the
> > mouse Table, the different mice are assigned strains.
>
> > We can have breeding cages with 1 male and up to 2 females. I want to
> > also create a "strain" field in the Cages table, and have that result
> > be calculated, based on what the strains of the mice are in the
> > records related to that individual cage.
>
> > How can I do this? The issue here is I have a 1-to-many relation****p
> > (1 cage, with 2 or 3 mice), and my calculation of the "strain" the
> > cage belongs to depends on all of the mice that are in that cage (not
> > just the first one found based on sort-order).
>
> > Any help would be much-appreciated. Thank you.
>
> Presumably when you have two females, either the females are the same
> strain or you have some way of identifying their progeny. =A0I'm also
> assuming for each Mouse, you already have fields for *** and strain.
>
> To manage this, you need to add relation****ps and new TOs to filter
> the correct Mouses. =A0To Cages add two calculated fields, each with a
> text result, one =3D "Male" the other =3D "Female". =A0 Add two new
> occurences of the Mouse TO, using CageID and *** as your match
> criteria to CageID and each of you new calc fields.
>
> Now from Cages, you can see you male mouse and your female mouse/
> mice. =A0You don't say how CageStrains are determined based on the
> Strains of a cage's mice, but the above should set you off in the
> right direction.

Thank you. What I have is as follows (the strains):

C57
FVB
PDE1A
PDE1C
PDE3A
etc

The C57 and FVB strains are just background strains; we have them for
the purpose of cross-breeding, to get that background. Hence, if I
have a PDE1A mouse in a cage with a C57, I want that cage's strain to
be PDE1A. If a C57's with PDE3A, I want the cage strain to be PDE3A.
Likewise with FVB; in short, if there is a C57 or FVB mouse in a cage
with another strain, the other strain should determine what strain the
cage belongs to.

Would this be possible? Thanks.
 




 10 Posts in Topic:
calculation based on multiple records in related fields?
dh003i <dh003i@[EMAIL   2008-06-24 14:41:38 
Re: calculation based on multiple records in related fields?
Bill <bbcollins@[EMAIL  2008-06-24 18:23:55 
Re: calculation based on multiple records in related fields?
Grip <grip@[EMAIL PROT  2008-06-24 16:52:11 
Re: calculation based on multiple records in related fields?
dh003i <dh003i@[EMAIL   2008-06-25 06:17:04 
Re: calculation based on multiple records in related fields?
Bill <bbcollins@[EMAIL  2008-06-25 10:48:14 
Re: calculation based on multiple records in related fields?
dh003i <dh003i@[EMAIL   2008-06-25 08:31:46 
Re: calculation based on multiple records in related fields?
Bill <bbcollins@[EMAIL  2008-06-26 07:04:38 
Re: calculation based on multiple records in related fields?
Bill <bbcollins@[EMAIL  2008-06-26 07:34:59 
Re: calculation based on multiple records in related fields?
Howard Schlossberg <ho  2008-06-25 09:08:26 
Re: calculation based on multiple records in related fields?
Grip <grip@[EMAIL PROT  2008-06-26 06:25:04 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Sep 5 6:48:24 CDT 2008.