Yes. I tried both text and date.

----- Original Message ----- From: "Lee Smith" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, July 04, 2008 8:52 PM
Subject: Re: Cannot enter date field for FIND from script


Is the result of the Calculation field = Date?
On Jul 4, 2008, at 5:02 PM, Nicholas Geti wrote:

I tried it with and without the RESTORE.

Please note that the Actual Invoice Field is a calculated result from a related table. I think that this is the problem. I have several other examples where this technique works but the date field is a normal, noncalculated value.


----- Original Message ----- From: "Hal Heidtman" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, July 04, 2008 7:49 PM
Subject: Re: Cannot enter date field for FIND from script


Nic,
When you enter the FIND mode....is the "restore" causing a problem???
I think I saw that in your original post.
Hal

On Jul 4, 2008, at 7:31 PM, Nicholas Geti wrote:

Insert Calculated Result doesn't work. The resulting field remains blank in
the Find mode. I can enter a range of dates manually and this works.

The COPY/PASTE option doesn't work either.


----- Original Message ----- From: "Lee Smith"  <[EMAIL PROTECTED]
>
To: <[email protected]>
Sent: Friday, July 04, 2008 6:22 PM
Subject: Re: Cannot enter date field for FIND from script


and use Insert Calculated Result
Insert Calculated Result [ AnyDate, DateToText(Status(CurrentDate)) &
"..."& DateToText(Status(CurrentDate)+60) ]

On Jul 4, 2008, at 2:11 PM, Steve Cassidy wrote:

IIRC in FMP5/6 it was not possible to Set a date field with  anything
except a proper date -- even in Find mode. So you cannot use Set Field in a script in order to set up a find on a date range. Instead, you have to use the Paste Result command -- or was it called something else in
FMP5/6? It was a long time ago...

The original poster seems to have a number of problems all rolled into one question. Certainly the attempt to copy from a field in find mode will not work. And I'm not sure that two periods (..) works to set up a
date range; it should be three (...). It may take  a bit of  sifting
through the possibilities -- and maybe doing some manual finds -- to get
this working.

Steve


On 4 Jul 2008, at 21:50, Jonathan Fletcher wrote:

Make the global a plain text field: you need _text_ to set into  the
date field in Find mode. If it is a date field it will not store your
date range.

Be sure to use the proper date range search syntax.

E.g. "7/1/08...7/3/08" or "07/01/2008...07/03/2008"

Reply via email to