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.

Click letter -- Find begins with

Featured Replies

Hi all,

I'm trying to create a clickable alphabet line such that clicking "A" will return all the company names that begin with "A", "B", "C" etc. What I can't figure out is how to perform such a search. According to the manual the =char* format does this but only for Japanese fields.

Surely there is another way. Or do I have to develop my own function that loops through all records and flag the ones that begin with "A" using a text function, then perform a find on the flag?

Thanks,

RandyS

Just find for the letter. It assumes you are searching for words that begin with whatever you enter.

You could probably do this with 26 buttons using one script. Each button using the search letter as its script parameter. Then the script would look something like this:

Enter Find Mode

Set Field [ Company Name ; get(scriptparameter) ]

Perform Find

You may also want to capture the no records found error.

Just find for the letter. It assumes you are searching for words that begin with whatever you enter.

Note that a find for "a" in Company Name would return "Apple Computer" and "Bee's Art Supply". If this is not desirable, then you would need to change the search a bit. Maybe there's a seach symbol that does a 'start with' kind of thing, but I don't know it. Short of that, I'd add a calc field CompanyStartLetter = left(Company Name; 1), and perform the search on it.

There is a nifty demo The Shadow came up with awhile back which saves layout space and Developer time by eliminating all the buttons and allows alpha jumping forward/back. It might be of interest here:

Next Letter

The thread starts with jumping every 10 records but, at the end switches to alpha jumping.

The correct solution is, of course, ==A*, etc.

  • Author

Ahhh ... thanks Transpower, that was the tidbit I was looking for.

Cheers.

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.