Jump to content
Sign in to follow this  
mf

Maxium multiple find requests

Recommended Posts

Does anyone know how to prevent FM to show this message:

"You are in find mode and appear to be entering new record data rather than find request criteria. Are you sure you want to create a new find request? (Yes/No)"

This message appears after the 10th new request (we use the shortcut CTRL-N). Can that maximum value be increased? Can we get rid of it altogether?

Share this post


Link to post
Share on other sites

You are getting this message because you are entering data while you're in find mode. The record will not be added to your other records.

Share this post


Link to post
Share on other sites

What do you mean? I am simply entering the "data" in the field I am searching, using CTRL-N to enter "data" in the field again for the next record I need to find... again and again until the 10th time, the message pops-up.

I am not creating a new record... but FM "appears" to think that I have exceeded some limit.

Thanks for taking the time to help me.

MF

Share this post


Link to post
Share on other sites

I don't know if there is a way out of this. The situation you describe is just Filemaker trying to be helpful because inside its pre-defined brain, it thinks that after 10 new requests in Find mode - that you might have made a mistake and maybe you really think you are in browse mode and are trying to create new records.

I've found that this goes away and doesn't come back after you tell Filemaker - politely - that you really are in the mode you want to be in.

Russ

[ April 06, 2002, 02:52 AM: Message edited by: Russell Baker ]

Share this post


Link to post
Share on other sites

Try the Set Error Capture [] script step just before changing into Find mode.

(I cannot remember whether it's set on or off to disable error checking -- check the help info.)

OR (I just thought of this) make 9 find requests, change into Browse mode, then issue the Modify Last Find step to recall them. Try it and see how many it'll do before the alert appears.

[ April 05, 2002, 09:42 PM: Message edited by: Vaughan ]

Share this post


Link to post
Share on other sites

Thanks, you sent me in the right direction. Here is the script:

Set Error Capture [On]

Enter Find Mode[]

Loop

Pause/Resume Script[]

Exit Loop If("IfEmpty(MyText),1,0)"]

New Record/Request

End Loop

Perform Find[]

If ("Status(CurrentFoundCount)= 0")

Show Message ["No records match this request."]

Show All Records

End If

The loop came from FM TechInfo. You can enter as many requests as needed with no "warning" message to interrupt the entry session. The bonus with this script is that you can use Enter instead of Ctrl-N (After the last entry you must hit Enter twice.)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.