?
Solved

How do I barcode a space in Dynamics Ax?

Posted on 2009-05-17
4
Medium Priority
?
922 Views
Last Modified: 2012-05-07
In Dynamics Ax, I am trying to barcode a field value that has a space in it. When the barcode scans, the space comes in as a square (like when Windows cannot display the character).  I have tried replacing with num2char(0) and num2char(194) with no luck.  I have used the Bill of Lading report as an example.  It is a barcode class 128 barcode.  Any suggestions?
0
Comment
Question by:NWSRich
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 7

Expert Comment

by:quale-kaizen
ID: 24410971
This is how you can get the asci codei for each char
static void Job1(Args _args)
{
    str s = 'test';
    int len = strlen(s);
    int i;
    
    ;
    for(i=1; i<=len; ++i)
    {
        info(strfmt("%1 %2", subStr(s, i, 1), char2num(s, i)));
    }
}

Open in new window

0
 

Author Comment

by:NWSRich
ID: 24411014
Thanks, I did look at that at first - when I look at the char2num for the space position, it comes back as 32 - the ascii code for space.
0
 

Author Comment

by:NWSRich
ID: 24412341
It looks like although I am passing an ascii character 32 (space) the scanner is reading it as a HEX "1E"   Is there another character I need to substitute?
0
 

Accepted Solution

by:
NWSRich earned 0 total points
ID: 24956187
Microsoft has determined this to be a problem and is working on a hotfix.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Desired Skill Set for Microsoft Dynamics CRM Technical Resources – Part I
Desired Skill Set for Microsoft Dynamics CRM Technical Resources – Part II
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question