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.

making scripts

Featured Replies

  • Newbies

Hi

I am trying to convert a value that i have in my filemaker database into another one ie TT into 1!can i do this as a script button?

also we have already got a calculation in place that changes numbers into other numbers ie.2 into 1 so that it can add up how many 2s there are but when i try to put in the TT value it says it cant find the spcified field!

Please help as tearing my hair out over this!

It would help to see the actual calculation formula. As it is, I can only guess that you did not put the string "TT" inside quotes.

If I understand you correctly you want to change certain text that may be in a specific fields to a number?

So create a script:

If(field = "TT"

Set field(field, 1)

Endif

If you want it to loop through a found set or all your records:

Allow User Abort(Off)

Go To Record Request (First)

If(field = "TT"

Set field(field, 1)

Endif

Go To Record Request (Next)

Loop

If(field = "TT"

Set field(field, 1)

Go To Record Request (Next, exit after last)

Endif

EndLoop

[color:red]**** I would suggest that you make a back up of your file before trying this or any script that is changing data in many records.[color:red]****

Also, I wrote this off the cuff and most of my scripts require some adjusting. I rarely get it on the first try.

hth

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.