Keep certain text in a datafield together when it is divided in more lines

Hello,
I have a datafield 'U_ketel_verw'. The field is set as Allow to grow. What I like to realize is that certain text in this datafield is kept together.
This is my exemple:
It looks like this now:
A = MAG 135/7, B = MAG 135/71, C = MAG 135/7 SO17, D = MAG 135/71 SO17, E = MAG
135/7 TTB, F = MAG 135/71 TTB
I like to have it as:
A = MAG 135/7, B = MAG 135/71, C = MAG 135/7 SO17, D = MAG 135/71 SO17,
E = MAG 135/7 TTB, F = MAG 135/71 TTB
This means that the part which I want to keep together is: E = MAG 135/7 TTB,
Is there a way to solve it.
Tim

Hello Ian and Abhilash,
I tried both your solutions but in both cases I get an error.
In Abhilash case I still get the Boolean error
In Ian's case I get the next error:
In this matrix there should be a subscript. Like: matrix <i>
I changed the code put <i> behind data.
But I get a Boolean error.
WhilePrintingRecords;
stringvar array data;
numbervar i:=1;
stringvar data_disp;
data := split({OITM.U_Ketel_verw},",");
while i <= ubound(data) do
if i mod 2 = 0 then
data_disp := data_disp + data<i> + "," + chr(13)
else
data_disp := data_disp + data<i> + ",";
i:=i+1;
data_disp;
Hopefully you both have another idea what need to be changed.
Thanks,
Tim

Similar Messages

  • Grouping specific Materials together when running heuristics.

    Hi,
    I'd like to know what options are available to me to for keeping Orders for specific Materials grouped together when running heuristics.
    For example, I have three Materials: Material A, Material B and Material C.  Now, I want Material C to always be scheduled after Material B, but only if sufficient demand exists for it prior to the next run of Material B.
    Maybe this illustration will help explain matters:
    Week     SKU
    1     Material A
    2     Material A
    3     Material B
    4     Material C
    5     Material A
    6     Material B
    7     Material A
    8     Material A
    9     Material B
    10     Material C
    11     Material A
    12     Material A
    13     Material C
    So, in week 3, I need to produce Material B, but because Material C is required before I next produce Material B (week 6) and Material C must always follow Material B, a run of Material C is scheduled into week 4.
    Is there a strategy I can use that will do this for me?  Any pointers welcome.
    Thanks,
    Matty

    Matty
    Is this sequence fixed or is it going to vary every week. Like in your example , if you are always going to plan material C before material B , then how about scheudling a heuristic run for material C first and then a second heuristic run for material B (this has to run on success of the first heuristic run).
    Thanks
    Aparna
    Hi Aparna,
    Thanks for replying (and apologies for the delay - I've been on holiday!).
    The sequence will always be the same: Material B followed by Material C.  I can run heuristics indepedently for both Materials, but the problem with doing this is that it will simply schedule orders based on the demand of each, not considering the fact that these Materials need to be produced consecutively.
    To confirm: Material B and Material C need to be 'glued' together production timing-wise, and then Material A will be scheduled in the gapsaround to fill up the capacity.
    Does this make any more sense now?
    Thanks,
    Matty

  • Keeping certain tracks together in Shuffle mode

    I have some live music (would like to import it in AAF format) that is tracked but I want to keep certain tracks together as "one track" when in shuffle mode.  I don't mind if I need to make a new second track that is this one long connected track, but need an easy way to do it so that it sounds seamless.
    Thanks in advance.

    I don't know if this would be seamless enough for your needs, but try using Groups. You can assign tracks to a group be using the "Get Info" window (cmd+I) info tab to assign a grouping.
    To choose whether iTunes shuffles by songs, albums, or groupings, choose Controls > Shuffle > [Option].
    If you select “by Albums” or “by Groupings,” iTunes plays the songs in the order in which they appear on the album or in the grouping, and then chooses another album or grouping at random.

  • Keeping tracks together when shuffling

    I want to keep certain tracks together when listening in shuffle mode (for example The Four Seasons). I thought this was what the groupings was for, but it doesn't seem to have that effect. Is there any way of doing this?

    You would need to physically link the songs together to prevent them being separated during shuffle. You could rip the tracks over again from the original CD using "Join CD Tracks" from the Advanced menu when you are importing: Adding Content to iTunes
    You can also have a look at Doug's iTunes scripts for this script which will join tracks after they've been imported Note: This script allows you to join any two (or more) MP3 tracks (it doesn't join other formats), provided that they are the same format and bit rate: Track Splicer
    Doug also has this shareware program you might find useful (this will join AAC tracks as long as they are not ITunes Store copy protected versions): Join Together

  • How to keep the Text Fields in Nested Subforms together?

    Please find the structure of nested subforms as below:
    --Subform 1
        --Subform 2 {Subform 2 is repeatable}
          Text Field 1
            --Subform 3 {Subform 3 is repeatable}
              Text Field 2
            --Subform 4 {Subform 4 is repeatable}
                  Text Field 3(Header)
                --Subform 5 {Subform 5 is repeatable}
                  Text Field 4(Data) 
    I want to keep the Text Field 2, Text Field 3 and Text Field 4 together.
    I am able to keep the Text Field 3 and Text Field 4 together by checking Keep with next and checking Allow Page Break. But checking Keep with next and checking Allow Page Break for Text Field 2 doesn't help in keeping all the three Text Fields together.
    Can anyone please tell me how do I keep all the three Text Fields (2, 3 & 4) together?
    Please mail me at [email protected] for any solutions. Thanks.

    It would be easier to answer by looking at the form settings.
    You can send the form to [email protected] so I can have a look at it.
    Thanks
    Srini

  • Why does the top button always brake why as my screen decided to pop off why is the back of my case bending when I have never dropped it why dose this shity phone keep sending text messages as picture messages this is the worst phone av ever had!!

    Why does the top button always brake why as my screen decided to pop off why is the back of my case bending when I have never dropped it why dose this shity phone keep sending text messages as picture messages this is the worst phone av ever had!!

    I know a lot of people with iphone 5 and have never heard them complain about top button always brake and screen that decides to pop off or the back of their case is bending.
    That sounds like a phone that has been dropped a numerous times.

  • My Friend has a iphone and when i change the setting text messege into imessege it keeps saying text message, even though i changed it

    My Friend has a iphone and when i change the setting text messege into imessege it keeps saying text message, even though i changed it.

    iMessage must be enabled on the sender and receivers iDevice.

  • Is it possible to keep certain emails together in a folder in mac mail

    is it possible to keep certain emails together in a separate folder in mac mail?
    I have a variety of e-mails pertaining to a particular subject that I would like to keep together.
    Thanks in advance

    Yes.  Create a new mailbox folder for On My Mac via the Mailbox ➙ New Mailbox menu option.
    Name it, select the emails you want to group and drag to the mailbox in the left hand pane of Mail.
    In addition you can create a New Smart Mailbox Folder with as many conditions needed to gather the various emails into it.
    You will have to move the emails out of the In box to full time storage mailbox created above.
    OT

  • How do I keep my text from being distorted when I do a lower arc?

    When I create an upper arc in my text it looks normal, but when I do a lower arc, it expands all the letters in the middle instead of just curving them, so that it has a sort of "fish eye" look. How do I keep it from doing this?

    No, gratitude for your help. Since I've never done the text the way you suggested, I found a video on youtube to show me how. However, I have not been able to get satisfactory results. Why will PS allow me to make a perfect upper arc with my type, and it won't do the same on the lower arc?

  • I keep getting result code -43 not found when trying to load certain instruments. Any idea why

    I keep getting error code -43 not found when trying to load certain instruments. Any ideas?

    Errors 3000-3999 (3004, 3013, 3014, 3018, 3164, 3194, and so on): Error codes in the 3000 range generally mean that iTunes cannot contact the update server (gs.apple.com) on ports 80 or 443.
    Update to the latest version of iTunes.
    Verify the computer's date and time are accurate.
    Check that your security or firewall software is not interfering with ports 80 or 443, or with the server gs.apple.com.
    Follow Troubleshooting security software. Often, uninstalling third-party security software will resolve these errors.
    An entry in your hosts file may be redirecting requests to gs.apple.com (see "Unable to contact the iOS software update server gs.apple.com" above).
    Internet proxy settings can cause this issue. If you are using a proxy, try without using one.
    Test restoring while connected to a known-good network.

  • Keeping certain songs in order when shuffling a playlist

    Is there a way to keep certain tracks in a playlist in order when shuffling the rest of the playlist?
    For instance, Pure Prairie League -- "Falling in and out of love" & "Amie".
    Or most of the end of The Beatles Abbey Road CD???

    http://discussions.apple.com/thread.jspa?messageID=5942177&#5942177

  • TS4006 My find my iphone app, my phone was offline. So i checked the notify me when its online. I did this on my boyfriends iphone so now that we found my phone he keeps getting text messages sent to him notifying him none stop where my phone is at??

    My find my iphone app, my phone was offline. So i checked the notify me when its online. I did this on my boyfriends iphone so now that we found my phone he keeps getting text messages sent to him notifying him none stop where my phone is at?? How do i let stop the text messages to stop?? It sends the location and long. lat. where its at....??

    My wife is having the same problems as a reciever. She works in a school as a teaching assistant and her teacher sends messages that are mixed with previous texts from ages ago.
    Can anyone shed some light on this problem or is it only her and this poster?
    2m42s

  • How can I merge my contacts on iphone but keep the text msgs

    I use my phone a lot for work and a lot of my correspondance is through text msgs. My best friend and I share the apple account and we have the same contacts so when I add it to the account my phone she does the same and we come up with duplicate contacts. We would like to be able to merge them and then create seperate apple id accounts so it doesnt happen again but we need to keep the text msgs.
    Please help!
    BTW...we cant update our ios either because of lack of room on our phone.

    I suppose you have/had them on your iPhone, but do not have your iPhone with you now.
    Did you ever sync the iPhone with iTunes, did you ever backed up the iPhone to iCloud?

  • How to keep all text and formats the same on multiple computers?

    I'm creating a file in InDesign CS6 on my Windows computer. I keep everything on my flash drive. When I go to school, I bring my flash drive with me and open it up on the Mac computer, but then there are are compatibility issues. There seems to be missing fonts and formats but the school uses the same version of InDesign I do. Now I was told a lot of things of how to keep the fonts and formats the same (embed the links, package the files, outline the text, save as IDML). However, it is not clear to me what each of those options do, so I don't know when or why to use them. So I just want to make sure that when I bring in my file in next Monday, I won't have any missing fonts or formats. What would you suggest is the proper things to do to keep everything the same on multiple computers? And could you please explain why?

    If you want cross-paltform comaptibility limit the fonts to OpenType or Windows TrueType formats, both of which work on both Mac and PC. To avoid missing font warnings the fonts must either be installed on each computer, or they must be in a folder named Document Fonts in the same location as the .indd file they are to work with. Packaging the file will build taht folder for you.
    the rest of the stuff in your list won't help you. .idml would allow you to open on an older version, but does nothing for your situation. Embedding the links will keep you from having missing links, but so will packaging, and embedded links will make the file much larger and harder to work with.
    For goodness sake, don't even think about outlining the text. It stops being text when you do that and you can no longer edit it.
    And finally. do yourself a big favor and don't attempt to actually work on your file directly from the flash drive. Copy the whole package folder to the hard drive, work on it, then copy back. You don't want to know how many files are fatally damaged by write errors on flash drives.

  • HT4436 Why is my daughter receiving my text messages on her itouch when I send them from my iphone? We are both on icloud so how can I separate the two? Do I need another icould or apple account??

    Why is my daughter receiving my text messages on her itouch when I send them from my iphone? We are both on icloud so how can I separate the two? Do I need another icould or apple account??

    It's happening because you are using the same Apple ID for iMessage.  You don't need to do anything with your iCloud account to fix this.  You should create a separate Apple ID for her device to use with iMessage and FaceTime.  (You can continue to share the same ID for purchasing from the iTunes and App stores if you wish; it doesn't need to be the same as the ID you use for other services.)  Once you've done this, on her device go to Settings>Messages>Send & Receive, tap the ID, sign out, then sign back in with the new ID.  Do the same thing in Settings>FaceTime.
    Another caution is that if you share and iCloud account with her, any data you both sync with the account such as contacts, will be merged and the merged data will appear on both devices.  If you don't want to end up with each other's contacts, calendars, etc. on your devices, you should have separate iCloud accounts to.  If you want to make this change, go to Settings>iCloud on her device and tap Delete Account.  (This only deletes the account from the device, not from iCloud.)  When prompted about what to do with the iCloud data be sure to choose Keep On My iPod.  Then set up a new iCloud account with her new ID, turn on iCloud data syncing again, and when prompted choose Merge.

Maybe you are looking for