Solved

How do I barcode a space in Dynamics Ax?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MS Access (office 97) 6 47
Moving Cash Receipts from One Checkbook ID to Another 2 46
MS Dynamics Partnership 2 64
SQL Timeouts and Warnings+CRM 2011 8 91
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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

911 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

21 Experts available now in Live!

Get 1:1 Help Now