Jump to content

Carriage returns in fields


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

Recommended Posts

The user can pick multiple selections via check boxes. All the selections are put into one field. When they are entered into the field the selections are put one right after the other. What I would like to do is find each carrige return in the field and reploace it with 2 carriage returns this would put a space between inputed selections. I can use the position function to find the first carriage return but it does not work well for me for the rest. Any Ideas?

Link to comment
Share on other sites

First, it sounds like the field in question is a number field. If you convert it to a text field, multiple selections will be separated by a carriage return. To add an additional carriage return, create another layout and place the unformatted (no check boxes, etc) field in question on the layout. Enter Browse mode and click into the field to select it. Under the Records menu, select the Replace option. In the box where you can specify the replace contents, enter the following:

Substitute(yourfield, "

Link to comment
Share on other sites

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