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.

Return to cursor position after script

Featured Replies

My job tracking file has a repeating field for due dates of various tasks. I have another Filemaker file that allows me to select dates from a calendar. How can I write a script that jumps to the calendar file, allows me to select the date, and then pass that date back into the repeating field my cursor was in (in effect, creating a little popup calendar)? If I create a button to perform the script, my cursor position gets lost when I click the button. Any help would be appreciated.

quote:

Originally posted by signal:

My job tracking file has a repeating field for due dates of various tasks. I have another Filemaker file that allows me to select dates from a calendar. How can I write a script that jumps to the calendar file, allows me to select the date, and then pass that date back into the repeating field my cursor was in (in effect, creating a little popup calendar)? If I create a button to perform the script, my cursor position gets lost when I click the button. Any help would be appreciated.

If you're on a Mac, I can picture how to do this with AppleScript. if you on Windows, I've heard that WinBatch can do similar tasks. But what you are trying to do can't be done with FileMaker alone.

Chuck

I use a calendar plugin from PCC which when the user clicks into the field, causes a calendar to drop down. After the user selects a date the calendar closes returning the date to the field. What I haven't been able to do is to use Status(CurrentField), so that if a layout has 30 date fields, I have 30 scripts, each 1 line long (each a call to the plugin)

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.