Professional Web Applications Themes

Some one want to know how to triger a script on a change in a field ? - FileMaker

script: Go to Field["Test"] Pause/Resume Script ["0:00:00"] -- to make it work use value lists. the pop up menu will stop the script. and you can make you chooses, when you tap you choose the script will run again, werry usefull for go to related record.. Cato Paus...

  1. #1

    Default Some one want to know how to triger a script on a change in a field ?

    script:
    Go to Field["Test"]
    Pause/Resume Script ["0:00:00"]


    --
    to make it work
    use value lists. the pop up menu will stop the script. and you can make you
    chooses, when you tap you choose the script will run again, werry usefull
    for go to related record..

    Cato Paus


    cato Guest

  2. #2

    Default Re: Some one want to know how to triger a script on a change in a field ?

    I ran across this same trick about a year ago. It's really awesome, and I
    wish FileMaker would (or could?) make it a doented feature instead of a
    useful glitch. Be warned that it doesn't work on a Mac and also that, since
    it's undoented (and presumably unintended) it may not work in future
    versions.

    When I first discovered this "feature," I built a navigation tool around it.
    You could choose the file you wanted to go to from the popup, and then the
    system would take you there. Luckily, the client was purely PC and had no
    intention of ever going Mac, so we kept the functionality. The other
    consultant I was working with, though, was on a Mac, and kept trying to
    "fix" the navigation until we worked out that it was a Mac thing. :-)
    --
    Shadenfroh


    Shadenfroh Guest

  3. #3

    Default Re: Some one want to know how to triger a script on a change in a field ?

    Shadenfroh <com> wrote:
     

    It works on the Mac. All it needs is a little tweak:

    "Take the field out of the tab order and make it a button attached to a
    script:

    Set Field [ FieldName, "" ]
    Go to Field [ FieldName ] [ Select/perform ]
    Loop
    Pause/Resume Script [ "0:00:01" ] ##<--Notice the "1".
    Exit Loop If [ not IsEmpty(FieldName) ]
    End Loop"

    I use this on the suggestion of Bridget Eley (whom I quote above). She
    have given numerous useful suggestions and is one of the authors in my
    newsgroup autotag file.
    Michael Guest

  4. #4

    Default Re: Some one want to know how to triger a script on a change in a field ?

    I am trying to find a use for the script mentioned. Is this used as a
    button or some other place? Can you give another use for the script so
    my poor mind can understand it? Thanks.

    "cato" <net> wrote in message news:<bn93fl$26c$tdcnorge.no>... 
    vincent Guest

  5. #5

    Default Re: Some one want to know how to triger a script on a change in afield ?

    This is a field, formatted as a drop-down menu, defined as a button that
    runs this script. When you click on the field (at least in Windows), it
    will open the menu and hold it open before continuing the script. This
    is a method for running a script upon exiting the field.

    vincent pettes wrote:
     [/ref]

    --
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Howard Schlossberg (818) 883-2846
    FM Pro Solutions Los Angeles, California
    Associate Member, FileMaker Solutions Alliance

    Howard Guest

Similar Threads

  1. Help. I need a Script to Hide field if field equals zero
    By Ken Stockford in forum Adobe Acrobat Windows
    Replies: 6
    Last Post: May 26th, 09:28 PM
  2. attach script to field?
    By Michael Bystroem in forum FileMaker
    Replies: 7
    Last Post: November 1st, 09:16 PM
  3. Date of last change in a certain field
    By Timon in forum FileMaker
    Replies: 3
    Last Post: October 8th, 12:35 PM
  4. script field
    By Renzo in forum FileMaker
    Replies: 4
    Last Post: September 2nd, 07:56 PM
  5. Change Properties Of Field Through ASP !
    By Lovely Angel For You in forum ASP Database
    Replies: 2
    Last Post: August 16th, 06:36 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139