Options

Values are not shown in RDLC Report

isabtogumonisabtogumon Member Posts: 45
edited 2024-04-26 in NAV Three Tier
Hello,

It seems to be very simple, but for some reason that I don't know, the values of the variables are not shown in the report. The process enters the condition and assigns value to the variables, in fact I added a Message so that it would be displayed on the screen, which it does.

Variables:
Name DataType Subtype Length
DimValue Record Dimension Value
Value1 Text
Value2 Text

Item Journal Batch - OnAfterGetRecord()
DimValue.SETRANGE(Code, "Item Journal Line"."Shortcut Dimension 2 Code");
IF DimValue.FINDLAST THEN BEGIN
Value1 := DimValue.Name;
Value2 := DimValue.Code;
MESSAGE('Name: %1, Code: %2', Value1, Value2);
END;

7av6e1tcnjnq.png

Thanks in advance

Best Answer

  • Options
    lubostlubost Member Posts: 615
    Answer ✓
    You can press Ctrl-Alt-F1 when you see request page (and close appearing window). Next you should press Preview button and after report is generated press Ctrl-Alt-F1 again. You should investigated the data coming from NAV to RDLC.

Answers

  • Options
    lubostlubost Member Posts: 615
    Answer ✓
    You can press Ctrl-Alt-F1 when you see request page (and close appearing window). Next you should press Preview button and after report is generated press Ctrl-Alt-F1 again. You should investigated the data coming from NAV to RDLC.
  • Options
    krikikriki Member, Moderator Posts: 9,090
    [Topic moved from 'NAV/Navision Classic Client' forum to 'NAV Three Tier' forum]

    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.