Skip 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.

Find Problem in IWP

Featured Replies

I have got a find button on the main database layout which is as follows:

Close Window [ Name: "Failed Search"; Current file ]

If [ Get ( PrivilegeSetName ) = "Web_User" ]

Perform Script [ “find_SearchWeb” ]

Else Perform Script [ “find_SearchFMA” ]

End If

This works fine in that the user is taken to the find form layout and the relevant script is run. However when the user enters search criteria into the form and clicks on the Find button which is set just to Resume Script the Find button is not seen as an active button and the script isn't resumed!

The find_SearchWeb script is as follows:

Allow User Abort [ Off ]

Set Error Capture [ On ]

Show/Hide Status Area [ Lock; Hide ]

New Window (VIRTUAL WINDOW ON WEB) [ Name: "Find Material"; Height: 440; Width: 680; Top: 200; Left: 160 ]

Go to Layout [ “web_findMaterial” (lib_Materials) ]

Go to Field [ lib_Materials::mat_Product ]

Enter Find Mode [ ] [ Pause ]

Perform Find [ ]

If [ Get ( FoundCount ) < 1 or Get ( LastError ) = 400 ]

Perform Script [ “goto_noResultLayout” ]

Exit Script [ ]

Else If [ Get ( FoundCount ) > 1 ]

Close Window [ Name: "Materials"; Current file ]

Go to Layout [ “web_List” (lib_Materials) ]

Perform Script [ “size_Window” ]

Set Window Title [ Current Window; New Title: "Materials" ]

Show/Hide Status Area [ Lock; Hide ]

Go to Record/Request/Page [ First ]

Perform Script [ “sortby_01_Ascend” ]

Perform Script [ “grab_ActiveRecordID” ]

Exit Script [ ]

Else Close Window [ Name: "Materials"; Current file ]

Go to Layout [ “web_Details” (lib_Materials) ]

Perform Script [ “size_Window” ]

Set Window Title [ Current Window; New Title: "Materials" ]

Show/Hide Status Area [ Lock; Hide ]

Go to Record/Request/Page [ First ]

Perform Script [ “grab_ActiveRecordID” ]

End If

Any help would be appreciated.

Edited by Guest

  • Author

I've managed to resolve the problem by deleting the buttons and recreating them.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.