Skip 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.

Query by period of date from 2 table

Featured Replies

Hello ALL:

I have a fm7 called [color:blue]IT asset inventory.fm7

There is layer called Inventory transfered report.

On the layer, I like to have a Query to input as From Date1: [ ] to Date2: [ ]

The period of date will check and match the field called Check out Date from the two fm7 files called [color:blue]PC.fm7 and [color:blue]Peripheral.fm7.

(Note: The Check out Date is meaning that either PC or Peripheral was checked by employee)

Question:

Is it possible to display the result within Protal on the same layer: Inventory transfered report?

  • 2 weeks later...
  • Author

Here is a Script called the Query by Date Range.

================================================

Show All Records

Show Custom Dialog [ Title: "Search between two Dates"; Message: "Use the format yyyy/mm/dd i.e. 2006/07/31"; Buttons: "OK",

"Cancel"; Input #1: Asset Management::Date From; Input #2: Asset Management::Date To ]

Enter Find Mode [ Specified Find Requests: Find Records ]

[ Restore ]

Set Field [ Asset Management::Date Check Out; Asset Management::Date From & "..." & Asset Management::Date To ]

Set Field [ Peripheral Management::Date Check Out; Asset Management::Date From & "..." & Asset Management::Date To ]

Perform Find [ Specified Find Requests: Find Records; Criteria: Asset Management::Date Check Out: "7/1/2006...7/31/2006" ]

[ Restore ]

==================================================

Question: There are two Set Field for Date, how to change the "AND" into "OR" for the FIND mode?

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.