dbTalk Databases Forums  

Restore Find

comp.databases.filemaker comp.databases.filemaker


Discuss Restore Find in the comp.databases.filemaker forum.



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

Default Restore Find - 11-29-2005 , 02:12 PM






I have a simple "enter find" and "perfrom find" script. Sometimes it
runs fine, then sometmes it will come back with a "restore find" that I
did not intend for it to do.

Using FM7 v3

Thanks
JC


Reply With Quote
  #2  
Old   
Christoph Kaufmann
 
Posts: n/a

Default Re: Restore Find - 11-29-2005 , 02:32 PM






JC <jc (AT) jclewis (DOT) biz> wrote:

Quote:
I have a simple "enter find" and "perfrom find" script. Sometimes it
runs fine, then sometmes it will come back with a "restore find" that I
did not intend for it to do.
Error capture on or off?
--
http://clk.ch


Reply With Quote
  #3  
Old   
JC
 
Posts: n/a

Default Re: Restore Find - 11-29-2005 , 05:23 PM



Error capture is "On"

Thanks
jc


Reply With Quote
  #4  
Old   
Helpful Harry
 
Posts: n/a

Default Re: Restore Find - 11-29-2005 , 05:48 PM



In article <1133295140.200369.59650 (AT) f14g2000cwb (DOT) googlegroups.com>, "JC"
<jc (AT) jclewis (DOT) biz> wrote:

Quote:
I have a simple "enter find" and "perfrom find" script. Sometimes it
runs fine, then sometmes it will come back with a "restore find" that I
did not intend for it to do.

Using FM7 v3
It depends what you're trying to do.

If you're trying to perform a Find where the user or a script enters
Find request data, then your script should be something like:

Enter Find Mode []
Pause script or Set Field
Perform Find []

You don't want the Restore option at all, since that restores whatever
Find requests were stored with the script. (The stored Find requests
are those performed manually just before adding the Find commands to
the script or stored when asked to Replace the Find requests when
exiting the script editing). If either the Enter Find Mode or Perform
Find has the Restore option turned on you will get "unexpected" results
since the script is really re-performing the stored manual find.

A good guess would say that this is the problem. It's something that
trips up everyone from time to time when working with Finds ... even
those of us who have been using FileMaker for many years.


If you're trying to use the Find request that is stored with the
script, then you don't need Enter Find Mode at all and the script
simply becomes:

Perform Find [Restore]


Of course you may want a combination of these where the stored Find
requests are added to by the user or script commands, in which case you
want something like:

Enter Find Mode [Restore]
Pause script or Set Field
Perform Find []





Helpful Harry
Hopefully helping harassed humans happily handle handiwork hardships ;o)


Reply With Quote
  #5  
Old   
JC
 
Posts: n/a

Default Re: Restore Find - 11-29-2005 , 05:59 PM



Thanks Harry:

But, In FM7 there is no option as I know of the turn "restore" on or
off. I know I don't want it. It just pops up from time to time in the
script after I run it.

Thanks
JC


Reply With Quote
  #6  
Old   
Dan Fretwell
 
Posts: n/a

Default Re: Restore Find - 11-29-2005 , 06:33 PM



When you select a script step such as Enter Find Mode there is a
checkbox Specify find requests. If you check this and put in a find
request you get Restore if you don't check it then you don't get
Restore.


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.