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.

Featured Replies

Understandable for a newbie, there must be an explanation I still don't know.

Script step: Perform Find.

I have two variables: $FirstDayOfMonth, $LastDayOfMonth

Into the find I set:

$FirstDayOfMonth...$LastDayOfMonth (I use three points). Doesn't work.

If I use the insert operator to insert the three point. Doesn't work either.

If I set another variable: $RangToFind [$FirstDayOfMonth & "..." & $LastDayOfMonth] and use it in the Perform Find step WORKS.

What am I doing wrong in the first two ways?

You cannot use calculations in the Perform Find [] step. Try instead:

Enter Find Mode []

Set Field [ YourTable::YourDateField ; $FirstDayOfMonth & "..." & $LastDayOfMonth ]

Perform Find []

  • Author

Thank you comment.

I was a bit confused because using ...$AnyVar worked and $AnyVar1...$AnyVar2 didn't.

If calculations can't be used in that step, what's the difference between ..."+"$1 and $1"+"..."+"$2? "+" symbol is just to explain it.

Working with another variable that include both works fine in Perform Find.

using ...$AnyVar worked

There is a bit of a history here. At first, you could only have used literal text in stored criteria, such as "Fred" or "<100". Only since version 11, you can also use a single variable - but still no expressions that need to be evaluated. For more, see:

http://help.filemaker.com/app/answers/detail/a_id/7590

There is a bit of a history here. At first, you could only have used literal text in stored criteria, such as "Fred" or "<100". Only since version 11, you can also use a single variable - but still no expressions that need to be evaluated. For more, see:

http://help.filemake...etail/a_id/7590

… but you can calculate the expression beforehand and pass it to the variable you use as criterion in Perform Find. You don't even need to Enter Find Mode first.

post-80889-0-09755200-1338743812_thumb.p

you can also use a single variable

That is what Michael said. Believe me ... he knows what can be used in finds.

It usually works best to use Enter Find Mode() because then the criteria is easy to see when viewing the script whereas Perform Find() provides no such information. Sometimes I use Perform Find() if it is very simple. :^)

Edited by LaRetta

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.