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.

Wildcards and Find

Featured Replies

Greetings,

I am using FMP10adv on Windows Server 2003.

I have a field containing one or more of the following characters: SMFOICVPHX (but only one of each), so a particular field could contain S or SM or MS or FM or FMSO or any combination.

I am writing a script fed by checkboxes on a layout to search for all fields containing a character selected by the user.

If I manually go into Find Mode and enter *M* it will find all the correct records.

... but trying to script it as follows (after entering find mode):

Set Field[Table::Field;"*" & LeftValues($values;1)& "*"]

(where the LeftValues($values;1) pulls the M out of the checkboxes)

This does not get the right answer.

Can anyone clue me in?

LeftValues() leaves a trailing carriage return. Try the GetValue() function instead.

  • Author

Fantastic, Thanks! It Worked.

(where would I find that level of detailed documentation about the various functions and their specifics?)

In the functions reference section of the help file. It's far from being perfect, but this particular oddity happens to be mentioned.

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.