Creating an ASCII-String by giving ASCII-Values
Schnippendick
Member Posts: 5
Good Afternoon !
I have to create a 2 of 5 interleaved Barcode in one of our Reports.
Problem is, that though I have a suiting TTF-Font, I cannot craete the right string to be printed, just because I cannot build up the encoded string by ASCII-Values.
So I am looking for some means to create characters like in ol' DOS times by using "CHR(0126)" etc.
Can somebody tell me how to create such strings ?
Thx in advance
Stefan
I have to create a 2 of 5 interleaved Barcode in one of our Reports.
Problem is, that though I have a suiting TTF-Font, I cannot craete the right string to be printed, just because I cannot build up the encoded string by ASCII-Values.
So I am looking for some means to create characters like in ol' DOS times by using "CHR(0126)" etc.
Can somebody tell me how to create such strings ?
Thx in advance
Stefan
0
Comments
-
txtSomeChar := 'X'; txtSomeChar[1] := 126;
and use it:
txtSomeString := 'blablabla' + txtSomeChar + 'blablabla';Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Thank You fpr Your fast reply !
One more question: Does this use of CHAR-type variables generate ASCII oder ANSI characters ?
cheers
Stefan0 -
ASCIISchnippendick wrote:Thank You fpr Your fast reply !
One more question: Does this use of CHAR-type variables generate ASCII oder ANSI characters ?
cheers
StefanRegards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Hi u all
I tried out the example from kriki but changed the Ascii code from 126 to 128.
My Navison 2.60 is now returning Ç but according to this site:
http://www.idevelopment.info/data/Programming/ascii_table/PROGRAMMING_ascii_table.shtml
128 is €.
Now according to this site
http://www.asciitable.com/
128 is Ç.
So I guess my version of Navision is working with an old version of the Ascii table. Is there anyway I can change this :-k?
Thanks in advance0 -
The value you get is depending on the used character set, you can change this in the regional setting. Do a search for this.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 328 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