Jump to content

Repeating Field Formatting


This topic is 6974 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

This should be rather basic, but I can't figure it out. I'm defining repeating fields. I format the field in the layout to show only a limited number of the repetitions. I check "use vertical scroll bar", but no scroll bar appears in the layout for that field. What am I missing?

Link to comment
Share on other sites

Ho. I remember a numerology DB I had done in FM4, and I recall it did the same thing- no scroll bars on vertical repetitive fields. I was able to live with it because clicking in a repeat expanded that part so that it was readable.

I had no clue that this quirk persisted in FM6. I haven't tested it in FM7 to find out if it's still that way.

If that part of your DB is meant to be read-only, would you be helped by adding in a scrollable calc field which assembled the repeats into one field and displayed them?

Link to comment
Share on other sites

There are no scroll bars for repeating fields. I developed a custom function (for FM Developer 7), called SetTexttoRepeatingField. It is

// SetTexttoRepeatingField(RepeatingField;Repetitions)

// By Ronald W. Satz, Transpower Corporation

//10-24-2004

// Set Text Field to Repeating Field So That User Can Scroll Through All Values

If ( Repetitions < 1 ; // Condition

"" ; // Exit

// Text is added on the next line

GetRepetition(RepeatingField;Count(RepeatingField)+1-Repetitions) & "

Link to comment
Share on other sites

This topic is 6974 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.