3 Replies Latest reply on Feb 6, 2017 4:49 AM by eoin

    FmGo 14/15 dropping 1st digit of barcode scan

    eoin

      I wonder if anyone can help me as this has me running around in circles.

       

      Upgraded the FMServer from 14 to 15 and at the same time decided to upgrade most iPad clients to FMgo 15 and iOS 10.

       

      A part of the application uses Symbol/Motorola CS3070 bluetooth scanners for data capture and has done so for the past number of years

      running on iOS 8 & FMgo 13 without issue.

       

      Now since the server change from 14 to 15 and the iOS upgrade from 7 to 10 along with FMgo 15, 50% of the time we scan barcodes we are loosing the first digit resulting in the barcode not being recognised.

       

      Funny thing is if I open the note pad on the iPad and scan into it the scans are 100% correct 100% of the time.

       

      There is only 1 script trigger on the field triggered by on object validate which checks for the barcodes existence in the system and performs some logic. But that doesn't happen until the carriage return on the end of the barcode forces the script to run. It doesn't explain why the first (and always the first) digit is missing.

       

      I built another layout to test with different logic to strip the code128 components into separate fields and I have exactly the same error on this layout too.

       

      I've tried all different iPads from 2, 3 iPad Air 1 & 2, iPad Pro all with iOS 10 and all with FmGo 14/15 and different scanners (same model) and they all behave the same, loosing the 1st digit 50% of the time.

       

      All iPads are on a local network with a local FMS15 hosting the solution.

       

      My next step is to find an iPad which hasn't been upgraded to iOS 9 or 10 and install previous versions of FMGo to see if I can at least rescue the situation and then if necessary file a bug report.

       

      I'm curious if anyone else has come across this problem or noticed even the keyboard missing the first digit when typing in FMgo 14 or 15?.

       

      Thanks!.

        • 1. Re: FmGo 14/15 dropping 1st digit of barcode scan
          philmodjunk

          How is the focus put in the field that gets the scanned data?

          • 2. Re: FmGo 14/15 dropping 1st digit of barcode scan
            eoin

            Hi Phil,

             

            The scan data is held in a portal, basically the user loads the form and clicks into the last portal row to the scandata field to get focus, a scan is made on the BT scanner with an appended <CR> and because of the <CR> FMGo tries to move to the next field triggering the on object validate script trigger.

             

            The script that is run basically checks to see if there is a related barcode in the stock table it pulls info into the portal such as product name, weight and sets the default unit value to 1. It then moves to the next portal row and to the scandata field waiting to receive the next scan.

             

            It makes no difference if I manually set the field focus before the scan or allow the script to set focus, both methods can give errors of missing first digit.

            • 3. Re: FmGo 14/15 dropping 1st digit of barcode scan
              eoin

              Ok in answer to my own post I have discovered the following.

               

              The problem is present in FMGo 14 and FMGo 15, on iOS 8 (FMGO14 only, FMGO15 won't run on iOS8) or iOS 10 (both FMGO 14 & 15 give the problem)

              FMGo 13.0.9 functions correctly regardless of iOS 8 or iOS10.

               

              I will report the the problem.