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.

currentfieldname

Featured Replies

Hi All,

I am trying to generate a script that will perform a sub-script based on Status(Currentfieldname).

My script so far is

Enter Browse Mode

Go to Layout [National Report Summary]

Set Field ["Prob_group", """"]

If ["Status(CurrentFieldName)="Tot_P_sent_pakg""]

Perform Script [sub-scripts, "whatever"]

End If

The sub-script works fine and returns the value I want, the current field is a summary field

showing the total of a calculated field. I have not used status functions before and am not

sure if I am on the right track. The objective is for the user to click into a field and run the right

script. If they click into a different field then run a different script. The sub-script performs

a find date range operation via insert calculated result script step.

Anyone have any ideas?

Ta

JB

If ["Status(CurrentFieldName)="Tot_P_sent_pakg""]

Perform Script [sub-scripts, "whatever"]

End If

To make this work, you must have the "Tot_p_sent_pakg" active. The "status(currentFieldName)" function returns a 1 (true) when that field is active and a zero (false) when the field is not active. A field is active when the cursor is in it and not active when there is no cursor in it (duh:)

You're saying that you have one script that looks witch field is active and perform a script? I think you're better off with seperate scripts witch are individualy connected to those fields.

Jeff

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.