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.

find range with ...

Featured Replies

Is this cdml correct?

FMPro?-DB=request.fp4&-Lay=duedate_schedule&-Format=cs_duedate.htm&due_date_calc=1...2&-Op=neq&sta (it continues).

I created a field called due_date_calc that returns a 1 if it's due in a week, 2 due in two weeks, etc. I then created a jump menu, with the cdml above, that finds requests due in one week, two weeks, one month.

It doesn't seem to be working correctly.

How can you search by range with a cdml link?

------------------

~~~~~~~~~~~~~~~~~~~~~~~~~

Tom Beidler

Orbit Tech Services

tbeidler@mindsprin

g.com

~~~~~~~~~~~~~~~~~~~~~~~~~

Why not make another calc field in the database that does the work for you.

For instance, the calc field could return intergers equal to and less than the weeks value: ie 2 weeks, the calc field produces "1 2" that way a search for items due two weeks and less will be found by searching on that field.

  • Author

Sounds good, thanks.

I ended up using an operator. I changed the cdml to:

&-Op=lte&due_date_calc=2

The operator lte is for less than or equal to. That way it finds items with a due_date_calc of 2 or less.

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.