Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

bypass "no records match" message

Featured Replies

Is there anyway to bypass the "no records match this request" message? I have built scripts whose functions are to display a list of a sales reps' scheduled follow-up calls. I have 2 databases; "sales leads" and "comments". A script in Sales Leads calls an external script in Comments

Go to layout ["login"]

Enter Find Mode[]

Insert Current Date["Call back"]

They then see a screen with the fields "sales rep" (drop down menu) and "call back" and a button that calls the script

Perform Find []

If [status(CurrentFoundCount)<>0)

Go to Layout [CommentbyDate]

Else

Show message ["No reminders scheduled for today"]

Perform Script [sun-scripts, external:"SalesLeads.fp5"] *Refresh window[bring to front]

End If

The problem with this set-up is that if no records are found and the user hits "cancel" in the "no records match this request" message, the record in browse doesn't appear any different than it did in "find" and I am leaving the record vulnerable to be modified.

[ November 12, 2001: Message edited by: RC ]

Set Error Capture[On]

Perform Find []

Set Error Capture[Off]

Will eliminate the error messages.

Just be aware that once error messages are off, YOU the4 developer are responsible for error checking. If no records are found, how will that affect the remaining part of the script?

Actually, will the script end with no rercords found or all records found?

  • Author

CaptKurt's suggestion was perfect for my dilemma. If no records are found, the user sees a customized message ("show message") and is bounced back to the other database, insuring that the records can not be modified. Thanks for your help!

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.