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.

Perform Find On Portal [NeWbiE Q]

Featured Replies

  • Newbies

Hi All, I have spent a while trying to solve this question on the forum before asking this of you !

I have created 4 files. Invoice + Customers + Items + Ordered. The invoice file is the control file in this instance which presents the other 3 files as portals. They exchange data AOK,,,,whooopeee ;-)

2 Of the portals have a script attached to pull of records and enter them in the invoice file. The customer file has in excess of 2000 records and displays 6 rows in the portal. I wish to search the portal by name or part of name but due to the attached script I am unable to enter data in the portal row whilst in find mode.

I have made several perhaps clumsy attempts at scripts which hang. I have tried to add another field in the master file for the user to enter their search citeria and then a script which copies the user data, places it in the portal and performs a find.I may not be taking the right approach, help !

Guidence appreciated

Purdy blush.gif

Purdy said:

I wish to search the portal by name or part of name but due to the attached script I am unable to enter data in the portal row whilst in find mode.

Purdy blush.gif

You can check for the mode (find, browse, layout, preview) in your script. Basically you want the script to execute when not in Find mode, otherwise allow entry to the field.

I don't remember which mode is Find (but no doubt, someone else does and will speak up soon enough), but put this in your script:

If

Status(CurrentMode)<>whatever Find mode is

Your script steps

Else

Go To Field (which ever one you clicked on)

Now it may be the case that you have one button for the entire row, if you do, you'll need to change that to several buttons (depending on how many fields you want to allow your user to search).

  • Author
  • Newbies

Thanks for putting me on track.

I am experimenting with seperating the buttons atm.

Is there a definitive guide/resource for the FM scripting tool ?

Links & Pointers appreciated.

Create an account or sign in to comment

Important Information

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

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.