How to hide a product line in a report ie 1306 (word)

jsl_dkjsl_dk Member Posts: 24
If i try to use "item.delete(True);" it actually deletes the record in table 137 Thats not good :-(
If i try to Hide it replace with " " then there will be a line space.

Any surgestions Please?

Answers

  • DolshaDolsha Member Posts: 41
    try currreport.skip
  • zaidtariqzaidtariq Member Posts: 52
    edited 2017-01-23
    Use CURRREPORT.SKIP; if specified condition is met. If there is a blank line in report go to the line property and set the Hidden property of the line based on expression i.e. =IFF(Field!XYZ.Value<>"", TRUE,FALSE). Reply back if you still face problem.
    Best Regards:
    Zaid Tariq
    Dynamics NAV/365 BC Developer at Dynamics 360

    please like / agree / verify my answer, if was helpful.
  • zohaibu95@hotmail.comzohaibu95@hotmail.com Member Posts: 223
    You need to use SKIP method of Report object which would be like that
    CurrReport.SKIP;

    Like
    IF something THEN
      DO
        CurrReport.SKIP;
      END;
    

    Best Regards
    Zohaib Ahmed
    Dynamics NAV ERP Technical Consultant.

    please like / agree / verify my answer, if it was helpful for you. thanks.
  • jsl_dkjsl_dk Member Posts: 24
    Thanks that works! :-)
  • zaidtariqzaidtariq Member Posts: 52
    Great. :)
    Best Regards:
    Zaid Tariq
    Dynamics NAV/365 BC Developer at Dynamics 360

    please like / agree / verify my answer, if was helpful.
  • zohaibu95@hotmail.comzohaibu95@hotmail.com Member Posts: 223
    jsl_dk wrote: »
    Thanks that works! :-)

    You are welcome. :)
    Best Regards
    Zohaib Ahmed
    Dynamics NAV ERP Technical Consultant.

    please like / agree / verify my answer, if it was helpful for you. thanks.
Sign In or Register to comment.