7 Replies Latest reply: Dec 8, 2015 11:42 PM by Olly Bond RSS

    Question about floating trap

    Jason Chi

      I'm trying to use multiple floating traps on a row but can't seem to trap the final value (number with decimal).


      Here's a screenshot of the issue: https://www.dropbox.com/s/rk57xtb7b24hcm8/trapfloat.PNG?dl=0


      Any help would be appreciated.



        • Re: Question about floating trap
          Armand Max Olivares

          Hi Jason,


          You may try to extend the right most field to get the decimal value you may do this by changing the template width.



          Kind Regards,



          • Re: Question about floating trap
            Olly Bond

            Hello Jason,


            It looks like you've got v8 / 9 / 10 from the screenshot. Sometimes it's easiest to handle floating traps on numbers by trapping on the BBN - the two leading spaces before the first N - and then on NBB - the last number followed by two spaces, and grabbing everything between them. Sometimes you need to trap the decimal . as a trap character and grab the numbers to the left and to the right of this as two fields, then combine using val(Field1+"."+Field2).


            The screenshot just shows two records - is there always some data in each field? Does the descriptive block of text always start with an Alpha or can that sometimes be a special or numeric character? And if you need floating traps at all - is this from a PDF?


            Best wishes,