web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Ignore Control Charact...
Power Apps
Unanswered

Ignore Control Characters in DataMatrix Barcodes

(0) ShareShare
ReportReport
Posted on by 572

For the most part, this is unrelated to PowerApps, however I'm curious if anyone has any pointers/ideas. I will be scanning a DataMatrix barcode into an input box, and retrieving the last 9 characters. My problem is my Zebra RS507 ring scanner is sending control characters to the browser, which results in the browser switching tabs, and activating the "add to bookmarks" hotkey.

How would I go about ignoring these characters? Would I need to build a complex ADF rule for the scanner to only send the characters surrounding the control characters? I'm able to filter the text when the control character is actually copied into the field via this formula, however it doesn't work when the character is directly emulated from the scanner.

 

Substitute(Substitute(Substitute(DataCardValue4.Text,Char(29),""),Char(30),""),Char(4),"")

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    154,399 Most Valuable Professional on at

    Hi @JasonWS ,

    I am assuming DataCardValue4 contains the output of the scanner ? If so, does changing the Default to this assist ?

    Substitute(
     Substitute(
     Substitute(
     YourScannerName.Value,
     Char(29),
     ""
     ),
     Char(30),
     ""
     ),
     Char(4),
     ""
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 85

#2
WarrenBelz Profile Picture

WarrenBelz 76 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard