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.

goes to wrong record

Featured Replies

Argh! Have a simple script,

allow abort off

go to layout

page setup

enter preview mode (pause)

show message

if 1

enter browse mode

go to layout

if 2

print

go to layout

Problem is it goes to the first record every time. I take out the preview mode and message choice to test and goes to the correct record. I check my reports page which has about a dozen reports that do similar stuff and they all work fine. Everytime I put in the preview again it goes to the first record again. When I return it takes me back to the correct record.

I've never encountered this before and it's driving me loco!

ricardito

Duplicate the script and delete all but the Print Setup and Print steps. Run this script with dialog on to verify it's correct. If it's not, manually perform a Print Setup and Print, then 'Replace' the settings in your full script.

  • Author

No go. Did as you suggested, still goes to first record. Deleted script and started over, step by step, soon as I put in the preview it shows first record. Deleted all records and started over, same thing.

Oh, if you have more than one record found, then of course it will preview with the first one. What you want to do is either isolate the current record or store it in a global so that you can Go to Record/Request/Page ['gRecord'], assuming each record is in fact one page only.

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.