Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

while fetching a report from RG 23 D register getting error

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Dear All,

While fetching a report from RG 23 D report getting following error . Kindly advise

Checked by Debugger page

error-rg23code.jpg

Error While fetching Report

error-rg23d.jpg

Kindly Advise.

Thanks

With Regards

Mandeep Kaur

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: while fetching a report from RG 23 D register getting error

    You do not need to increase the field length in table.

    Just go to report and Increase the length of NameAddress variable. This should not be an issue and would resolve your problem.

  • Suggested answer
    Amol Salvi Profile Picture
    Amol Salvi 18,694 on at
    RE: while fetching a report from RG 23 D register getting error

    Look at this link

    msdn.microsoft.com/.../dd338944.aspx

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: while fetching a report from RG 23 D register getting error

    Hi Sir,

    How to use COPYSTR function? Kindly advise.

    Thanks

    With Regards

    Mandeep kaur

  • Suggested answer
    Amol Salvi Profile Picture
    Amol Salvi 18,694 on at
    RE: while fetching a report from RG 23 D register getting error

    If the length of field is changes in table then you may need to change everywhere where it affects and this is tedious thing to do as error will pop up every time unless it is not corrected

    Better Use COPYSTR function

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: while fetching a report from RG 23 D register getting error

    Hi Amol Sir,

    I have edit the text field length .

    This is what I have done in table fields.

    rg23d.jpg

    Kindly advise

    Thanks

    With Regards

    Mandeep kaur

  • Suggested answer
    Amol Salvi Profile Picture
    Amol Salvi 18,694 on at
    RE: while fetching a report from RG 23 D register getting error

    Hi,

    What changes done in text field ?

    For Use of StrLen look at the following link

    msdn.microsoft.com/.../dd301052.aspx

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: while fetching a report from RG 23 D register getting error

    Hi,

    Thanks for the reply,

    Could you please explain how to use the command strlen.

    As I have done the changes in the text field but still I am getting same error. Please advise.

    Thanks

    With Regards

    Mandeep kaur

  • Suggested answer
    Alexander Ermakov Profile Picture
    Alexander Ermakov 28,094 on at
    RE: while fetching a report from RG 23 D register getting error

    This is quite typical error when you start to modify the standard functionality, facing that some text fields are bloody short. So the first option that looks easy is to make some field on some card longer and this allows the user to enter a longer text.

    However later, when user does posting or plots a report, this longer value starts to be populated into other tables or variables where you obviously had not made the change, and a conflict appears.

    It is advisable that you increase the length of that variable and further in all places where it will be used (or just wait until the next user complaint to get the next used place :-) ), or truncate the current value to 80 as Jonathan advised.

  • Suggested answer
    RockwithNav Profile Picture
    RockwithNav 6,562 on at
    RE: while fetching a report from RG 23 D register getting error

    Hey Manish,

    Though the error seems very simple that the defined character length is 82 but it must be less then or equal to 80 characters, means you can simply go and increase the length of the field and this will solve your query but if it's a standard NAV field then you might need to increase the length in many other tables where it's flowing otherwise again you will end up with the same error.    

  • Suggested answer
    Amol Salvi Profile Picture
    Amol Salvi 18,694 on at
    RE: while fetching a report from RG 23 D register getting error

    You need to increase the length of variable but ensure that it will not impact other part

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,387 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans