Hiding the "processing window" using a dialog window not working

Fr0mi
Member Posts: 14
Hello,
I am currently working on a report, which sadly takes quite a long time to process.
As a result the user gets prompted with a loading screen the "processing window" (As I call it..) .
As it is good practice to let the user know what is happening and as it should get rid of the "processing window", I decided to add a dialog window.
However even though the dialog window opens, displays, gets updated properly, the "processing window" will pop up after about 10 seconds of loading.
As for my Report:
Skeleton:
Level 1 DataItem Item
Level 2 DataItem Sales Line
Level 2 DataItem Value Entry
Level 1 Buffer Table
The "processing window" will open while it is still going through all items.
Can someone help with this problem?
EDIT:
Attached is a picture of the loading Screen or processing window.. (Its in german)
Thanks alot in advance!
I am currently working on a report, which sadly takes quite a long time to process.
As a result the user gets prompted with a loading screen the "processing window" (As I call it..) .
As it is good practice to let the user know what is happening and as it should get rid of the "processing window", I decided to add a dialog window.
However even though the dialog window opens, displays, gets updated properly, the "processing window" will pop up after about 10 seconds of loading.
As for my Report:
- I am going through every Item in the DB.
- For every Item I am going through its Sales Lines & Value Entries.
- I am calculating everything I need & save it into a buffer table.
Skeleton:
Level 1 DataItem Item
Level 2 DataItem Sales Line
Level 2 DataItem Value Entry
Level 1 Buffer Table
// OnPreReport Dialog.OPEN(...); // OnPostReport Dialog.CLOSE; // DataItem Item OnAfterGetRecord Dialog.UPDATE(...); // DataItem Item OnPostDataItem Dialog.UPDATE(...); ...
The "processing window" will open while it is still going through all items.
Can someone help with this problem?
EDIT:
Attached is a picture of the loading Screen or processing window.. (Its in german)
Thanks alot in advance!
0
Answers
-
As an answer to myself and anyone who might be interested.
The "processing window" or "loading screen" is opened, because the server is waiting for the DataSet or more specific its lines.
As far as I know, there is no solution to this.
Best regards.0 -
not sure if I get it, but you should see the itemno change in the dialog..0
-
I am probably a bit late, but I have more or less accidently found the Report Property "ShowPrintStatus". Is that something that will help you?Cheers
Carsten
==> How To Ask Questions The Smart Way
This post is my own opinion and does not necessarily reflect the opinion or view of my employer.0 -
Thanks for the tip @SilverX ! I just tried it, but it does not work. The help description seems fitting though.
@mdPartnerNL I do see the itemNo Change in a customly created dialog window, which i have to open & update in my code. However I also get a "Status Screen" which can cancel the Report.
I am trying to stop that Screen from showing and to use only a customly created dialog window.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions