Jump to content
Salesforce and other SMB Solutions are coming soon. ×

Remove Filemaker Dialog?


rohksie

Recommended Posts

I am wondering if it is possible to remove the Filemaker dialog after running a search and having 0 results. Instead of the usual dialog that comes up with three choices..."modify find" ; "continue" ; "cancel" I want to display my own custom dialog with my own choices that directs it to certain things depending on the user's choice. So I have a button that goes a little like this

Perform Find

If Get(FoundCount) = 0

Show Custom Dialog "No matches Found. Modify Find or Cancel"

If Get(LastMessageChoice) = 1

Modify Last find

Else Go to __B__Layout

Enter Browse Mode

Show All Records

Else Go to __A__Layout

End If

 

My problem is though none of that ever follows through, once the perform find goes, and no results were found it shows Filemaker's dialog and choices other than modify find screws everything up. I'm not sure if my script was even right but I just need a way to get around that filemaker dialog. Help PLEASE!!!! Thanks in Advanced guys!

Link to comment
Share on other sites

Before the Perform Find step insert a Set Error Capture[On] step. That will suppress the FM dialog.

 

Edit: BTW it looks like you have too many Else steps without conditions.

Link to comment
Share on other sites

OH Lord! Thank You, I feel like such a dork, you know what though I was thinking about adding it on but I just never did and I don't know why. Thanks a lot!! People like me just need the answer slapped across their face. Haha

Link to comment
Share on other sites

This thread is quite old. Please start a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.



×
×
  • Create New...

Important Information

Terms of Use