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

I'm trying to write a script that:

enters Find Mode

Does a Set field on Field "Date" from a gobal field "gobaldate"

I then want it to find all dates that are greaterthan "gobaldate"

So I thought on the set field script I could put

"> " & gobaldate

But since it's a date field it will not allow any thing other than a date. If I make my date fileds text it works but I wan't to view my fields as dates (11/16/00).

Is there a work around for this problem?

Thanks Devin

Make sure that the field you are searching on is on the layout you are in during the script, perhaps using a Go to Layout script step, and then use the Insert Calculated Result script step instead of Set Field.

Chuck

  • Author

I was using a goto layout

I tried the insert cal and got some wierd numbers.

The Cal field reads:

">" & gobaldate

Devin

This is one of those operation that has been goofy in FM from the start. I created at test file. The first time I tried it (FM5 & Mac) it worked, then it quit working - wierd. Try instead:

Define gTextDate (global, text)

SetField[gTextDate, ">"& gobaldate

Enter Find Mode []

Copy [select, "gTextDate"]

Paste["Date"]

Perform Find []

I'm not sure why you have to do this and date ranges in such a round about manner. It's strange that the Insert Calculated Result fails. -bd

  • Author

that worked great

thanks

Devin

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.