Solved

How do I barcode a space in Dynamics Ax?

Posted on 2009-05-17
4
906 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
  • 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

This is a walkthrough guide I wrote whilst upgrading my on-premise MS Dynamics CRM 3.0 deployment to 4.0. This covers the actual installation of the product to a working level for my system, I ran into a lot of issues that the steps below fixed so h…
For cloud, the “train has left the station” and in the Microsoft ERP & CRM world, that means the next generation of enterprise software from Microsoft is here: Dynamics 365 is Microsoft’s new integrated business solution that unifies CRM and ERP fun…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now