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.

If C is empty then copy D to A...Question

Featured Replies

Trying to make a script that looks at Field C to see if it is NOT empty. If so it copies contents of Field D to Field A, otherwise it does nothing. Can someone tell me how to write this?

Edited by Guest

What about field B?

  • Author

Field D is a different value that does not need to be in the equation.

You maybe better off with an Auto-entry calculation field ... can you give a bit more info in order to understand the context.

It will require an If script or a case statement in a calculation.

best

Stuart

In field A specify Auto-Entry Calculation

Case ( not IsEmpty ( Field C ) ; Field D ; "" )

  • Author

I need something that will work with records already entered. Will the previous example only work with new records? I tried it and it doesn't work with existing records.

Edited by Guest

Uncheck Do Not replace existing value (if any) and it will update when records are modified.

or

Just make it a straight calculation field with the same calculation.

As i said i am not really clear on the context as you did not expand on it as requested.

Script to set the field:

Freeze Window

Go To Record [ First ]

Loop

If [ not IsEmpty ( Field C ) ]

Set Field [ Field A ; Field D ]

End If

Go To Record [ Next ; Exit after last ]

End Loop

HI,

This may do the trick

IF [isEmpty (TABLE NAME:: D)]

Beep

Else

Insert Calculatd Results [a; a = b]

You may have play with the syntax

Take Care

Buck

Sorry Jimmy i don't get how this helps?

IF [isEmpty (TABLE NAME:: D)]

Beep

Else

Insert Calculatd Results [a; a = b] :

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.