Hi all,
Something regarding Reports in navision. I am not much familiar with Navision reports.
I read help regarding how report execution works and how it depends on DataItemIndent property
I did following:
Customer - indent 0
Integer - indent 1 ( just below customer dataitem)
Customer- OnAfterGetRecord
{
c := 0;
IF cust.FIND('-') THEN
REPEAT
MESSAGE('inside1 '+cust."No.");
cust1.GET(cust."No.");
c := c + 1;
UNTIL cust.NEXT = 0;
CurrReport.BREAK;
}
but execution doesn't go in OnPreDataItem or OnAfterGetRecord events of Integer dataitem.
Am i missing something?
Thanks for any help.
0
Comments
According to ur code u didn't write anything in Integer sections, then what r u expecting from system ?
But if u indent ur integer table under customer table, then for each record of customer table integer dataitem will run.
to know that how many times the integer will run for a customer u have to write the code for example----
integer.setrange(number,5);
this will run the integer dataitems 5 times for each customer.