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 Script with NO Status Area

Featured Replies

Help

I need to script a button to do a "find" without the use of the ststus area.(and show all records after it completes the find)

I've worked all day on this & I know its easy to do but my mind is fried I think.

Pleas can someone help me out?

Do you want a script to perform the find or do you want to Enter Find Mode, have the user define a find and once the user completes the criteria then find the records?

Simple scripted find:

Enter Find Mode

Set Field[MyField; "My Find Criteria"]

Perform Find

  • Author

They need to enter find mode, input find text, then continue all "without" the use of the ststus area. (the continue button is on the status area)

hi,

you can just get the user to press enter afer inputting their search criteria. this will perform the find.

but if the status area is hidden they won't be able to see how many records have been found, unless you add this to your layout.

cheers,

jd.

  • Author

Will the above script find across all records?

You might need to create a new layout just for the purpose of the find with two buttons: Find and Cancel

When the user selects the Find button on the main layout run the script:

Set User Abort[Off]

Go To layout{MyFindLayout]

Enter Find Mode[Pause]

Perform Find

Go To Layout [MyOriginalLayout]

The Find button on MyFindLayout would be defined to Resume Script the Cancel button would trigger a new Script to go back to Browse Mode and return to the original layout.

hi,

you can just get the user to press enter afer inputting their search criteria. this will perform the find.

I tried this with my users and most just don't get it. I gave up and have started to add a Find Layout with a Find and Cancel button. Of course if you can get them to use the Hit Enter method there is less work that needs to be done on your part.

but if the status area is hidden they won't be able to see how many records have been found, unless you add this to your layout.

I use the following calculation field on each layout:

Right("00000" & Get(RecordNumber);5) & ¶ &

Right("00000" & Get ( FoundCount );5) & ¶ &

Right("00000" & Get ( TotalRecordCount );5)

cheers,

jd.

I've encountered this problem in the past, and in the past have created a special Find Layout. More recently, I have taken to staying on the active layout and entering Find mode via script. As mentioned, the enter trick works (if the user gets it--also mentioned). However, I set up my script so that if the system is already in Find Mode, to perform whatever find the user has entered, but to go into Find mode if the user is not. This way the user can click the Find Button at any time, and the right action is taken. I haven't had any complaints about this method, but do not know for sure whether my clients get it any better than the Enter key. I suppose I could set the button up to have one label in Browse mode, and another in Find mode. I also have a calculation that listst the number of records in the current found set.

David

  • Author

Thanks for all the feedback....

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.