skip to another field after newline character - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

skip to another field after newline character

Last post 02-07-2012 08:51 AM by paolo. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 01-27-2012 06:50 AM

    • paolo
    • Not Ranked
    • Joined on 11-25-2011
    • Posts 20

    skip to another field after newline character

     Hi folks,

     I have some data that is entered via a barcode reader in an infopath repeating table.

    The data contains a standard carriage return + linefeed (CR+LF, 0x0D0A) at the end.

     I would like to skip to the next field after the CR+LF, but could not figure out how.

     I noticed that neither the "changing" nor the "changed" events are thrown

    after the CR+LF, so where should I put the code I wrote to skip to the appropriate

    field? This is a situation in which we would like the operators to scan, say, 10

    or so barcodes and I don't want them to have to hit tab or the mouse after

    every scan. I know you can limit the size of a text field and skip after that limit,

    but what my data can have different lengths - but always have CR+LF at end.

     

    Thanks,

    Paolo

     

     

     

     

  • 02-06-2012 12:29 AM In reply to

    • paolo
    • Not Ranked
    • Joined on 11-25-2011
    • Posts 20

    Re: skip to another field after newline character

     Well maybe this is not possible? Or was the original question not clear?

    If not possible, I would definitely have it as a feature request for future versions...

    Ciao,

    Paolo

  • 02-07-2012 08:51 AM In reply to

    • paolo
    • Not Ranked
    • Joined on 11-25-2011
    • Posts 20

    Re: skip to another field after newline character

    Well, I finally found a solution - though it's not an infopath solution.

    It turns out it is possible to reprogram the barcode scanners to deliver

    a tab key instead of carriage return+line feed after scanning the barcode.

    This way, infopath get a tab character and springs to next field.

     

    Ciao,

    Paolo

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.