About to display a dialogue.

HI ALL,

I have a report that prints budgets allocated for consumers. I am facing a prob when i ran and print the report, its giving me error after printing 204 pages. So i have written code to display a dialogue window which shows the update of consumers like


window.open('#1########'');

window.update(1,cons.no);

window.close();

but i am unable to see the updation process, can any one guide me how to reduce the speed of window updation.

Thanks

Venu.

Hi Venu,

Where are these called from - are you closing the dialog window each time?

call the OPEN in the OnPreDataitem

call the UPDATE in the OnAfterGetRecord

call the CLOSE in the OnPostDataitem

also what is the content/type of “cons.no” ?

Consumer No. is of code data type.

Hi Venu,

Is “cons” a variable or the name of the dataitem?

I suspect it should read as:

window.UPDATE(1,Customer.“No.”);