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.

Here could be a tricky calc

Featured Replies

Hi guys,

(I haven't been around much lately, my job as a FileMaker guy came to an end a while back. Now I only dabble in FM for fun now, instead of dishing out cynical and poorly spelt advise).

I'm making this DB that generates a random alpha numeric string. This string is then spoken out using the speak() command. I've got that working great.

The idea, is that the user then has to sort the numbers and letters by number and by alphabet position (did tha make sense?). For example:

sd4f325 should become dfs2345

or

3abd59si9 should become abdis3599

I can't seem to find a good way to generate the correct answer, short of having a case() position() for letter then hardcoding the numbers. I haven't really mastered all that is new and wonderful in FM7 yet, but i bet this could be done. Any ideas?

Hi Eric,

Filter ("abcdefghijklmnopqrstuvwxyz0123456789"; textField)

Usually this function is used in reverse (textfield then alphanumeric) as a Filter (smile). But if you reverse it (as above), it becomes a character resequencer (sorts it). You can count backwards or alpha backwards (or mix it up or turn it inside out).

If you may have two identical characters or double numbers (or more), just put two of each character together (or apart). I've strung 6 together for picking apart (and rearranging) entire sentences. It is case sensitive so include upper before or after lower if you wish.

And it's beauty is that it matches (then internally omits) one instance of each character as it goes so you can really manipulate the strings.

Filter(textToFilter;filterText)

"Returns from textToFilter only those characters specified in filterText, in the order that they were originally entered in textToFilter."

Gotta love vs. 7 ! Filter() and FilterValues() are pattern magicians and I've been having a ball exploring possibilities.

LaRetta

  • Author

thanks!

That was too easy. It works great. FileMaker 7 is great.

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.