Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Making text in a text field display in columns


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

Recommended Posts

Hello,

I have a text field that contains check boxes. On another layout, I have those check boxes that are selected represented as plain text.

However, the when the checked items are represented as plain text, they appear as one giant vertical column. IE

111111

222222

333333

444444

555555

How can i get them to display in seperate columns. IE

111111 222222 333333

444444 555555 666666

777777

Thanks

Link to comment
Share on other sites

What are the rules? You have broken the single column into three columns. Is that what you want? Or should it be broken into three rows?

Basically, when multiple items are checked in a checkbox field, each item is separated from the others by a carriage return. By converting the correct carriage returns into tab characters instead, and setting up the field to have tab stops at the appropirate places, you can do what you want. But determining which carriage returns to convert is where the rules come in. For instance, your example would convert the first, second, forth and fifth carriage returns to tabs, but left the third and sixths as returns. If that's the rule, then it can be translated to a calculation. Also, how many items are available in the checkbox?

Chuck

Link to comment
Share on other sites

The easiest way to use a tab character is to put one in a global container field (call it gTab for example). Then whenever you want to use it in a calculation, just refer to the field. Example, to replace carriage returns with tabs you would use:

Substitute(TextField, "

Link to comment
Share on other sites

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