Jump to content

SetRepeatigFieldToText(Repeating Field; Text)


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

Recommended Posts

Hi to all,

Can anyone make this function ?

I'll pass a text field and each letter of the text will go into a position of the reapeting field...

It's possible to make this function?

I need it to center text into a form with some predefinited square !

Thanks

Link to comment
Share on other sites

You don't need a custom function for this. Simply make your repeating field a calculation (result is text) =

Middle ( Extend ( textfield ) ; Get ( CalculationRepetitionNumber ) ; 1 )

---

Woops - if you have version 6 as indicated, then this will not work for you (and neither will a custom function). You can still make it work by using another repeating number field as an index.

Link to comment
Share on other sites

  • 4 weeks later...

I am afraid this technique requires the target to be a calculation field.

You could use another repeating field as key field, and define the target as a lookup. Each repetition will lookup "its own" content from the related record to which the corresponding repetition of the key field points.

But why not simply display the data in a portal?

Link to comment
Share on other sites

Could you elaborate, please? On both points.

1. I have used repeating fields to lookup information from different records over a single relationship in versions 3 and 4. I have skipped 5 and 6, and I find it works the same in 7.

2. If you have a simple calc that can do the same, please share.

Link to comment
Share on other sites

Hi,

The fact that the data resides in another Table shouldn't be a problem as long as you use a related calculation.

As for getting multiple records at once, it may be effectively difficult to achieve but surely not impossible I'd think

Link to comment
Share on other sites

Ok, so not not impossible.

But... it is a dirty trick: instead of getting one, you are getting them all, then picking the one. I think that with a large amount of records the difference would really stick out.

Link to comment
Share on other sites

This topic is 6951 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.