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.

Issue with Script inserting Time

Featured Replies

Hi All here is my issue. I have a script that inserts the current time into a field. The script works fine, BUT filemaker leaves the blinking cursor in this field. I just want the value inserted without filemaker putting the cursor into this field.

Is there a script step that can avoid this situation?

Hopefully this is a super simple fix.

Thx

Yes, use Set Field script step.

  • Author

Ah, seems one needs to set that to nothing. Not the most intuitive.

Thanks Much.

Huh? Try Commit Records at the end of your script.

I have a script that inserts the current time into a field.

Hi Bena,

What Barbara is suggesting is that you 'insert the current time into the field' by using the Set Field[] script step instead of using the 'Insert Current Time' script step. The benefit of using Set Field[] is that the field doesn't even need to be on the layout. So it would be:

Set Field [ yourTimeField ; Get ( CurrentTime ) ]

Also, Set Field[] does not leave the cursor in the field although it DOES maintain possession in multi-user mode unless you 1) move to another layout/table occurrence or 2) Use Commit Record/Request as the final step to 'release' your possession of the field (so others can then modify it if they wish).

Edited by Guest
Added last sentence

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.