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

  • Newbies

I have a database that I need to print to forms, that are sorted according to three fields. ie

Company Name, Rep Name, Client Name, where each company has a number of Reps and each rep has a number of Clients. Each form will have a printed list of the Clients for each Rep and the Company Name and will be numbered sequentially, I need the number to restart its count when the Company name changes. Any ideas?

Assuming you've already sorted by company and you want to renumber the found set, this script would do it:

Loop

  Set Variable[ $n ; Case( companyID = $ID ; $n+1 ; 1 ]

  Set Field[ sequence ; $n ]

  Set Variable[ $ID ; companyID ]

  Go to record[ next ; exit after last ]

End Loop

OP indicates version 7 - no script variables there.

I *think* this should work in version 7 too:

Define a summary field as Count of [any field that cannot be empty], Running count, Restart summary for each sorted group when sorted by Company.

  • Author
  • Newbies

Thanks for the help so far

I can't see where i set this part of the summary field

Restart summary for each sorted group when sorted by Company

I am afraid I was wrong: this feature was added in version 8. Try the attached workaround.

RestartCount7.zip

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.