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.

Help with the wildcard *

Featured Replies

Hi all,

I've searched archives and can't find much to help with my problem:

I am building a database of tapes which all have unique ID numbers and am wondering if there is a way of automatically adding the * to a find. Many of the tapes have letters/numbers that could be ommitted when searching eg. IS1000394 - it would be easier just to search for 394.

So in short, is it possible to automatically add * to the beginning of a search?

Any help would be much appreciated.

Thanks

Taig

Hello Taig,

Welcome to the Forum!

There are various ways that you could go about solving your problem. One of them would be to provide a button for your users to use to activate the finds and attach it to a script which runs along the lines of:

If[Get(WindowMode) = 1]

Set Field [ tapeID; If(not IsEmpty(tapeID); "*" & tapeID) ]

Perform Find [Replace Found Set]

End If

This will, of course, only work if your users click the button rather than performing the find in the more conventional ways. If that's a problem, you could perhaps lock the database down (hide the Status Area and remove menu commands) and require that the whole find process be performed by script. Then yoiu have control and can ensure that users have no other way to perform the find.

Another thing you might want to consider is that if you have a lot of recoirds in your database, a wildcard search will not be very quick. In that case, an alternative method such as a special relationship (to a calculated field in the tapes table) and a global search field (with a 'go' button that activates a 'Go to Related Record' command via the special relationship) might be a better option.

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.