How to Enter Ascii-Code 29 in Textbox on Form?

MatthiasBrahm
Member Posts: 5
How can I enter an Ascii-Code 29 in an Textbox on a Form?
If I enter it by ALT and 29 on the numlock only a Question Mark appears.
If I scan it thru an Barcodescanner it is entirely omissed.
To Explain the question: We would like to scan an Ean128 into a Textfield in Navision. In an Ean128-Code every field with variable Length is ended by an Ascii 29 (so called FNC1 or GS Control character).
To discover where one field ends and the next begins you have to search the Ascii 29-Characters in the string in the textbox.
The textbox in Navsion seems to filter out the non-readable characters.
It is the same effect, if I put an binary oder blob-Field as source-Expression behind the textbox on the form.
Does anybody know an solution to this problem?
If I enter it by ALT and 29 on the numlock only a Question Mark appears.
If I scan it thru an Barcodescanner it is entirely omissed.
To Explain the question: We would like to scan an Ean128 into a Textfield in Navision. In an Ean128-Code every field with variable Length is ended by an Ascii 29 (so called FNC1 or GS Control character).
To discover where one field ends and the next begins you have to search the Ascii 29-Characters in the string in the textbox.
The textbox in Navsion seems to filter out the non-readable characters.
It is the same effect, if I put an binary oder blob-Field as source-Expression behind the textbox on the form.
Does anybody know an solution to this problem?
0
Comments
-
I don't know if you can solve this problem in navision.
However some barcode scanners can be programmed to add a character to the scanned sequence. Maybe if you program the scanner to add a ascii 13 character you can use this character as 'seperator'.
Maybe the user manual of the barcode scanner can tell you more.In a world without Borders or Fences, who needs Windows and Gates?0 -
I have found an Solution. The Barcode-Scanner we use can be programmed to replace one character by another.
I programmed it that if the Scanner finds an FNC1 (x1D) it replaces it automatically by an # (x27).
In Navision I can go thru the string read by the scanner und search for the #. If I find an # and the next two Characters are numeric I can assume I found an FNC1 and the last variable field ends here and the next field begins.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions