Hi,
While Dataporting for Item master, i got an error as
"The Length of the source exceeds the size of the destination buffer"
i have increased field width of Description(250), Search Description(250), Description2(200). The size of the data is less comparing to the length of the field, but it gives error..
can anyone suggest a solution for this.
0
Comments
To your error message: Did you start the debugger?
Good Luck
Attain Navision
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
I have a dataport that takes the description and if it's too big it cuts & sizes it.
basically if your dataport imports the description into a variable (mydescription) in this example.
the copystr takes care of the rest.
first 30 characters go to the item description - chars 31 to 60 go to "description 2"
Item.Description := UPPERCASE(COPYSTR(mydescription, 1, 30));
Item."Description 2" := UPPERCASE(COPYSTR(mydescription,31,30));
http://www.BiloBeauty.com
http://www.autismspeaks.org