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 there,

I am trying to implement using a barcode scanner with FMP.

The usb scanner sends the return keycode after each input (as do most scanners).

After each input, I want to move to the next field.

My script is quite simple:

if code(get(triggerkeycode)) = 10 or code(get(triggerkeycode)) = 13 (both return and enter)

Go To Field(Field 2)

end if

Which has been attached as a script trigger on OnObjectKeystroke.

This works fine, however, after moving to the next field, it still sends the return code and the new field gets a new line.

Is there anyway I could send null or not send anything at all after it goes to the next field?

Thanks heaps!

This works fine, however, after moving to the next field, it still sends the return code and the new field gets a new line.

Add this step before End If:

Exit Script [Result:0]

See also:

http://www.filemaker.com/11help/html/edit_layout.10.34.html#1029649

  • Author

Add this step before End If:

Exit Script [Result:0]

See also:

http://www.filemaker.com/11help/html/edit_layout.10.34.html#1029649

Thankyou very much!

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.