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

I would like to script the page number into a defined field so they can be reused later in a contents page. Unfortunately I don't seem to have the right technique. (see attached file). At the completion of the script the first record shows the total number of pages and the other record shows zero.

in summary the script is

Go to Record/Request/Page

[ First ]

Enter Preview Mode

Loop

Exit Loop If [ Get(LastError)≠0 ]

Set Field [ test::pagenumber; Get(PageNumber) ]

Go to Record/Request/Page

[ Next ]

End Loop

Set Field [ test::pagenumber; Get(PageNumber) ]

Go to Record/Request/Page

[ First ]

Enter Browse Mode

test.fp7.zip

I am afraid this is a bit more complex than that - see;

http://fmforums.com/forum/topic/30553-index-page-or-table-of-contents

  • Author

I am afraid this is a bit more complex than that - see;

http://fmforums.com/...ble-of-contents

Thanks and indeed - especially as some of the records are multiple pages. I solved this by running a check script which opened a new window via a self relationship to count the number of pages of that record. and adjust. This is a bit clunky but seems to work. The contents page uses the calculated page number and the main body of records use the built-in page numbering system ("//").

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.