🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Trapping with same characteristics

Jill_22468User: "Jill_22468"
Altair Community Member
Updated by Jill_22468

​I am trying to build a model and two of the items that I need to trap as seperate items have the same label and characteristics in my report. Any suggestions or advice in trapping these items would be greatly appreciated. The items are labeled in red, TRACE:.

------------------------------
Jill Williams
Director of Finance
Schneider Regional Medical Center Hospital
340-776-8311 etc 8106
------------------------------

Find more posts tagged with

Sort by:
1 - 1 of 11
    CPorthouseUser: "CPorthouse"
    Altair Employee
    Accepted Answer
    Updated by CPorthouse
    In your sample, it appears that the first trace number is not always the same length.  What about the second trace number?  The first suggestion would work if you can be certain that a blank will always occur somewhere in the same column that the second trace number isn't.

    Does the second trace number always occur above the settlement date line?  If so, you can create a multiline trap to capture the two lines:
    • TRACE NUMBER
    • SETTLEMENT DATE
    Set the trap line to #2 and your trap to capture settlement date.  In your sample text window you can then define two fields, Settlement date and TraceNumber2.

    You can then create another trap for the first trace number to trap on "Trace Number:"
    I mocked up your sample like so:
    sample
    And here is what I get in my data preview:
    data preview


    ------------------------------
    Chris Porthouse
    Senior Implementation & Integration Engineer
    Altair
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 06-24-2019 10:07 AM
    From: Jill Williams
    Subject: Trapping with same characteristics

    I am trying to build a model and two of the items that I need to trap as seperate items have the same label and characteristics in my report. Any suggestions or advice in trapping these items would be greatly appreciated. The items are labeled in red, TRACE:.

    ------------------------------
    Jill Williams
    Director of Finance
    Schneider Regional Medical Center Hospital
    340-776-8311 etc 8106
    ------------------------------
    "