So I'm trying to display my variable value in my report. But it prints in the message "Numerario" but in the report is not showing anything..
OnPostReport()
PaymentMethodCode:=CustLedgEntry1."Payment Method Code";
PaymentMethod.GET(PaymentMethodCode);
PaymentMethodDescription:=PaymentMethod.Description;
MESSAGE('%1',PaymentMethodDescription);
My var PaymentMethodDescription have the option "Include in dataset to true"
Answers
1.) Please check if the value you want to display is actually in your dataset, because it probably isn't (-> check via ctrl+alt+f1)
2.) OnPostReport is too late to populate your variable. This is most likely the error you made. The message works because it is executed at the very end. Construction of the Dataset passed to your layout happens before then.
3.) For anything regarding RDLC - or other 3-Tier stuff please post in the correct forum the next time.
regards, wisa
See https://forum.mibuso.com/discussion/71562
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!