home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / database / 1582 next >
Encoding:
Text File  |  1992-12-11  |  3.3 KB  |  73 lines

  1. Newsgroups: comp.sys.mac.databases
  2. Path: sparky!uunet!usc!wupost!csus.edu!netcom.com!netcom!triantos
  3. From: triantos@netcom.Netcom.COM (Nick B Triantos)
  4. Subject: Re: FileMaker Pro v2.0 -How do you do IF-THEN tests?
  5. In-Reply-To: pzocco@falcon.wcc.wesleyan.edu's message of 11 Dec 92 12:06:04 EDT
  6. Message-ID: <TRIANTOS.92Dec11201834@netcom.Netcom.COM>
  7. Sender: triantos@netcom.com (Nick B Triantos)
  8. Organization: Netcom Online Communications Service
  9. References: <1992Dec11.120606.520@news.wesleyan.edu>
  10. Date: Sat, 12 Dec 1992 04:18:34 GMT
  11. Lines: 60
  12.  
  13.  
  14. In article <1992Dec11.120606.520@news.wesleyan.edu> pzocco@falcon.wcc.wesleyan.edu (Paul Zocco) writes:
  15.    ...
  16.    So on my main contact layout, I have some Yes/No radio buttons for:
  17.  
  18.        Member?        Yes/No
  19.        Speaker Req.?    Yes/No
  20.        Speaker Info?    Yes/No
  21.        Pilot School?    Yes/No,  etc.
  22.  
  23.    What I would like to do is have the radio buttons determine how you move  
  24.    from layout to layout (or database to database.)  Depending on how the  
  25.    Yes/No questions are answered on this contact screen, I'd like FileMaker  
  26.    Pro to walk its way through the other layout screens (with user  
  27.    interaction, of course).
  28.  
  29. Paul brings up an interesting idea, which I would propose is very much
  30. possible, with a little work and a great new feature of FileMaker Pro 2.0.
  31. What you can do is to create a calculation field that, based upon the
  32. different combinations of "Yes"es and "No"s, creates a number.  Then, create
  33. layouts named with each of these numbers, which you'd like for the
  34. combinations to continue to.  Place a button on the layout with the "Yes/No"
  35. questions called something like "Continue" that executes the script command
  36. "Go to Layout", and use the option for going to a layout number specified by
  37. a field. (It's there.  Look at it).  It's not something I've done to date,
  38. but I see that the features are there to make this apparently possible.
  39.  
  40.    Also, is there a way to make a radio button act like a button that  
  41.    performs an action?  That is, can you click on a radio button, have the  
  42.    field it represents be set to Yes or No and still switch to another  
  43.    layout?
  44.  
  45. This, actually, is also possible.  Create very small circles that look like
  46. radio button sized doohickeys, and place them on the layout ON FRONT of the
  47. actual "Yes/No" buttons.  (From the Arrange menu, choose "Move to Front").
  48. Each of these buttons should be drawn with a black pen, and fill set to
  49. NONE.  Then have each button execute scripts that will "Go to Field
  50. <your-field>", and "Paste Literal 'yes'" or 'no'.  The scripts will
  51. therefore be doing the same thing as clicking on the real radio buttons, but
  52. since you're now executing a script, it should be possible to continue on
  53. and do lots of other fun things.  The only caveat here:  I'm not sure that
  54. you'll be able to Paste Literal into a radio button field, since there's
  55. really no way to "Go to Field" to a formatted field.  Check it out, though,
  56. and let us all know what you find.
  57.  
  58. Peace, happiness, and regular backups!
  59.  
  60.  
  61. --
  62. -Nick "I live down the street from Apple, isn't that special" Triantos
  63.  
  64. I may work in Claris Technical Support, but not when I'm logged in on
  65. the Internet... 
  66.  
  67. -- 
  68. -Nick "I live down the street from Apple, isn't that special" Triantos
  69.  
  70. I may work in Claris Technical Support, but not when I'm logged in on
  71. the Internet... 
  72.  
  73.