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.

Changing list title after doing a find

Featured Replies

A little stumped over this it seems pretty simple but not working. After I do a find to show in a list I wont to change the list title to "records found". After it finds and changes it seems as if its trying to find again with the value "records found". I am attaching a pic of my script steps any help would be great. Jay

script_step.jpg

Hi Jay,

You are already on Work Orders when you perform your find. You don't need a Go To Related[] ... all you need is layout switch.

On your Enter Find Mode[], are you hitting [Enter] twice? You can't GTRR while still in Find mode. You will receive error #3 - wrong mode for the script step. I don't believe you ever even leave Find mode. Is this your exact script? What is in the 'Restore' portion of your Enter Find Mode[]?

If you want to add to a User's find, make your adjustment in the Perform Find [Restore] portion. Also, is that Job List Title field a global? If you are wanting to set a title in the header, you need to use a global or layout-level variable and you should use Set Field[] or Set Variable[] and not Insert Text[]. Insert Text[] requires that the field be on the layout when you set the value and, since I believe your script fails, it remains on the original layout anyway.

What are you trying to accomplish and we can help you through it? :wink2:

Edited by Guest
Added sentence

  • Author

Hi LaRetta, once again thanks for the quick reply. I changed the job_title_list field to Global and used the setfield and that did the trick.

Yes i do have to hit enter twice to find because when i go into the find mode I automatically have the field order_type set to "work order" and from their i manually type in my other search requirements. I guess their is no way getting around that.

Once again appreciate it very much. Jay.

Try this:

Delete the Restore from your Enter Find Mode[] and adjust your script as:

Enter Find Mode [ pause ]

Modify Last Find

Set Field [ WorkOrder ; "Work Order" ]

Perform Find [ ]

... and did you remove the Go To Related step? It isn't necessary here.

However, if your User has multiple find requests, neither your approach nor mine would work the way you want. You would need to use a Constrain AFTER your User finishes entering their (possibly) multiple find requests, such as:

Enter Find Mode [ pause ]

Perform Find [ ]

Constrain Found Set [ Restore ] ... "work order"

Edited by Guest
Added constrain

  • Author

WOW! it worked. No more pushing the enter button twice. Thanks.

Idon't know if I need to stard another post but whats the best way of setting up to share database with another user who has his own copy of fmpro through a local network.

Thanks Jay.

Different topics should be in new threads in the appropriate forum, particularly a question so drastically different than scripting. Post your new question:

here

:wink2:

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.