inserting a date in a scripted search

Ask a Question related to FileMaker, Design and Development.

  1. #1

    Default Re: inserting a date in a scripted search

    Two possible issues to check:
    1) You must use the Insert Calculated Result step, as this will not work
    with Set Field.
    2) The EventDate field must be on the layout at the time the Insert step
    is used. I usually handle this with a freeze window, GoTo Layout[All
    Fields], Insert, Goto Layout[Original Layout]

    Claude Carlos wrote:
    > I first select on the calendar the latest date of the events I want to
    > search
    > I then go to a layout in SEARCH mode
    > I now want to find all the records before that date.
    > I insert "<=selected date" in the event date field
    > And finally execute the search.
    >
    > Seems logical but the script doesn't work...
    > I can't get the" <=selected date" to be transfered to the event date field.
    > When done " manually" it works but I can't get the script to work
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Howard Schlossberg (818) 883-2846
    FM Pro Solutions Los Angeles, California
    Associate Member, FileMaker Solutions Alliance

    Howard Schlossberg Guest

  2. Similar Questions and Discussions

    1. Inserting an automatic date?
      I notice that when I want to insert a date, it only resets once the page has been updated. But I found a few pages on my site that has an...
    2. inserting system or current date
      Hello, How can I insert system or current date into coldfusion4.5 I wrote this query But I am getting error <cfquery...
    3. inserting date in form list
      I want to make a date list that lists the year but instead of adding every year on a line I want to make a loop do it at runtime....any ideas?
    4. Inserting both date AND time into one timestampcolumn
      Function parsedatetime() will allow you to return a datetime object by combining a date and time string: <cfset dte="jan 22, 2005"> <cfset...
    5. inserting date
      Use the Date function. In your query, it would be something like SELECT Field1, Field2, Date() FROM MyTable For the text box, you'd set its...
  3. #2

    Default Re: inserting a date in a scripted search

    Thanks Howard
    MY mistake, I had selected in the script the wrong field
    on the layout to insert the calculated result...

    Thanks again

    Claude
    "Howard Schlossberg" <howard@antispahm.fmprosolutions.com> a écrit dans le
    message de news: [email]vg39todglnj992@corp.supernews.com[/email]...
    > Two possible issues to check:
    > 1) You must use the Insert Calculated Result step, as this will not work
    > with Set Field.
    > 2) The EventDate field must be on the layout at the time the Insert step
    > is used. I usually handle this with a freeze window, GoTo Layout[All
    > Fields], Insert, Goto Layout[Original Layout]
    >
    > Claude Carlos wrote:
    >
    > > I first select on the calendar the latest date of the events I want to
    > > search
    > > I then go to a layout in SEARCH mode
    > > I now want to find all the records before that date.
    > > I insert "<=selected date" in the event date field
    > > And finally execute the search.
    > >
    > > Seems logical but the script doesn't work...
    > > I can't get the" <=selected date" to be transfered to the event date
    field.
    > > When done " manually" it works but I can't get the script to work
    >
    > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    > Howard Schlossberg (818) 883-2846
    > FM Pro Solutions Los Angeles, California
    > Associate Member, FileMaker Solutions Alliance
    >

    Claude Carlos Guest

Posting Permissions

  • You may not post new threads
  • You may 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