Type Conversion Problem!!!!!!!!!!!!!!!!!!!

southindian
Member Posts: 247
I have a type conversion problem. i got a report sent from my head office.... it is a label printing report... when i imported and tried to compile, am getting type conversion error.
Microsoft Business Solutions-Navision
Type conversion is not possible because 1 of the operators contains an invalid type.
Text := VOID
OK
-
In that there is a coding line which is given below
Addr[1][1] := PrintBarCode.ParseRequest(ICR."Cross-Reference No.");
when I try to compile it throws the error and the cursor blink at this code only.
ADDR[1][1]is defined as text[250].
Printbarcode ====> NAv Comm (Codeuint)
there the cross reference no. is passed and get converted into barcode number....
can any body tell what is need to be done.....
Microsoft Business Solutions-Navision
Type conversion is not possible because 1 of the operators contains an invalid type.
Text := VOID
OK
-
In that there is a coding line which is given below
Addr[1][1] := PrintBarCode.ParseRequest(ICR."Cross-Reference No.");
when I try to compile it throws the error and the cursor blink at this code only.
ADDR[1][1]is defined as text[250].
Printbarcode ====> NAv Comm (Codeuint)
there the cross reference no. is passed and get converted into barcode number....
can any body tell what is need to be done.....
0
Comments
-
is anybody there to help me out...... Anybody [-o< :whistle: I had tried to execute that report... but it getting executed without BARCODE.... wat to do... can any one get me the solutions...... :-k0
-
You write a post, wait 17 minutes, and are upset that no one has responded? On a weekend no less? Mibuso is not the place to get immediate support. That's what your NAV Partner is for, or other people in your company. I'm tempted not to even help, but I will.
Just take a minute to think about the code you are looking at.
Addr[1][1]. What does that tell you? That you are expecting some sort of Matrix or 2-dimensional array.
You say Addr is only a Text[250] variable, or a 1-dimensional array (that's what text is, a 1-dimensional array of characters).
See the problem?
Next time try commenting parts of the code out. That will get you to a point where you can compile the report and that will tell you what's wrong.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