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.

Control number of repetitions to print

Featured Replies

I have a repeated field with 80 repetitions, that I am using to create a bar graph for weights. I have a calculation and conditional set so that the bar color is set appropriately based on the weight. Works great, but I want to do one more thing with it and can't figure out how...

When I print the graph, I only want the actual number of repetitions or length of the colored portion to print, followed by the weight appended immediately to the right of the bar. Right now, I have the graph printing and it looks good, but I can't place the weight directly at the end of the bar.

So it would look like this (R=repetition displayed with color):

RRRRRRRRRRRRRRRRRRR 50

RRRRRRRRRRRRRRRRRRRRRRRRRR 70

etc.

The bar field is defined as:

Get ( CalculationRepetitionNumber ) ≤ Extend(Weight)

The conditional sets a repetition to blue if Value = 1

Must be some sort of calculation to do this??

Thanks.

Place the weight field to the right of the repeating field and set both to slide left.

  • Author

Yes, that did it...after I used a substitute in the calculation to change the 0s to spaces!! Thanks.

Edited by Guest

Try in the file I posted in the original thread - you'll see the substitution isn't necessary.

http://fmforums.com/forum/showtopic.php?tid/209772/

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.