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.

Searching Records based on multiple paramteres?

Featured Replies

Hi,

Customer --< Jobs.

I have got a layout based on Customer where bascially user enters the search criteria and it contains a Drop down list of all the Customers & 2 date fields that are both associated to Jobs::StartDate and a find Button.

When find button is clicked i want to search/display all the jobs in a different layout for the selected company where job start date is between the selected date range. The reason i want to display in different layout is to print the found records.

Thanks in advance.

Mitesh

I kind of dislike the idea of having extra fields to facilitate this, why not make dialogs during the run of the script:


Go to Related Record [ From table: “Jobs”; Using layout: “Jobs” (Jobs) ] [ Show only related records ] 

Enter Find Mode [  ] 

Loop 

      Show Custom Dialog [ Message: Case(Get ( RequestCount )-1;"Enter an end date for the search";"Enter a start date for the 

search"); Buttons: “OK”; Input #1: Jobs::StartDate ] 

      Go to Field [ Jobs::StartDate ] 

      Set Variable [ $criteria; Value:Get ( ActiveFieldContents ) ] 

      If [ Get ( RequestCount ) = 1 ] 

              Set Field [ ">"  & $criteria ] 

      Else 

              Set Field [ "<"  & $criteria ] 

      End If 

      Exit Loop If [ Get ( RequestCount ) = 2 ] 

      New Record/Request 

End Loop 

Constrain Found Set [  ] 

--sd

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.