dbTalk Databases Forums  

changing containers

comp.databases.filemaker comp.databases.filemaker


Discuss changing containers in the comp.databases.filemaker forum.



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

Default changing containers - 06-21-2005 , 01:56 PM






so i have a pedigree that i am working on, and i would like it to show
symbols which are dependent on two things, the person's sex (male or
female) and the persons gene. so i have made one file with that
information: person id, name, sex,gene,dob, etc... i have made another
file that stores the gene and two symbols for it (one for male other
for female).

so now what i want is to pick in the person's info file thier sex and
then thier gene and want the specific symbol to show up matching both
catergories. how can i do this? thanks in advance.


Reply With Quote
  #2  
Old   
Matt Wills
 
Posts: n/a

Default Re: changing containers - 06-21-2005 , 02:09 PM






You define a calc field, returned as container. I doing simple conditions
only, you could incorporate AND conditions as needed:

If ( Sex = "M" ; MaleIcon ; FemaleIcon )

which assumes that the sex will be one or the other. You could also do

Case (

Sex = "M" ; MaleIcon ;

Sex = "F" ; FemaleIcon ;

"" )

which allows for a null (not sure?) value, such as for Michael Jackson.

Matt

On 6/21/2005, pri wrote:

Quote:
so i have a pedigree that i am working on, and i would like it to show
symbols which are dependent on two things, the person's sex (male or
female) and the persons gene. so i have made one file with that
information: person id, name, sex,gene,dob, etc... i have made another
file that stores the gene and two symbols for it (one for male other
for female).

so now what i want is to pick in the person's info file thier sex and
then thier gene and want the specific symbol to show up matching both
catergories. how can i do this? thanks in advance.

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.