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

Hi.

I am trying to write a script that will take me from my form layout and print a report for today only. The problem is that when I use scriptmaker and enter the 'today's date' from the menu, as my specify from the print, it doesn't work. I have to manual go into find mode to get it done....

Even better, can anyone tell me how to make a script that will allow the user to enter a date at run-time for printing

Vandy

Enter Find Mode [ ]

Set Field [table::date; Get(CurrentDate)]

Perform Find [ ]

or

Create a relationship from a global date field to the static date field and,

Set Field [table::globaldate; Get(CurrentDate)]

If [not IsEmpty(relationship::serial)]

Go to Related Record [show; relationship]

Else

Show Custom Dialog ["There are no records for today."]

End If

For user defined dates, use a global date field.

Enter Browse Mode [ ]

Set Field [table::globaldate; ""]

Go to Layout [Report Find]

Pause/Resume Script [ ]

If [not IsEmpty(table::globaldate)]

If [not IsEmpty(relationship::serial)]

Go to Related Record [show; relationship]

Else

Show Custom Dialog ["There are no records for that date."]

End If

Else

Show Custom Dialog ["You have not entered a date."]

End If

Go to Layout [Original]

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.