Client Crash
mabl4367
Member Posts: 143
Hello experts!
Some of our users experience client crashes when doing certain actions in the sales order form. The same action does not always crash the client.
I have a theory that maby the code in the OnTimer trigger that updates the subforms takes too long to execute and that the instanses of calls to this trigger sometimes stacks up untill there is a problem with the memory and/or operating system.
Could this be the problem?
Some of our users experience client crashes when doing certain actions in the sales order form. The same action does not always crash the client.
I have a theory that maby the code in the OnTimer trigger that updates the subforms takes too long to execute and that the instanses of calls to this trigger sometimes stacks up untill there is a problem with the memory and/or operating system.
Could this be the problem?
0
Comments
-
You might also want to check whether the users are running forms inside NAV in fullscreen or in normal window mode. NAV behaves differently in these cases.Frank Dickschat
FD Consulting0 -
mabl4367 wrote:Hello experts!
Some of our users experience client crashes when doing certain actions in the sales order form. The same action does not always crash the client.
I have a theory that maby the code in the OnTimer trigger that updates the subforms takes too long to execute and that the instanses of calls to this trigger sometimes stacks up untill there is a problem with the memory and/or operating system.
Could this be the problem?
You use an OnTimer trigger on sales subforms for refreshing? [-X
You know that there is a built in refresh option in NAV by design, don't you? Ctrl+Alt+F50 -
Actually the parent form may update the tables of the subforms. If the subforms in turn then have certain fields updated this triggers yet more updates of the parent form and the other subform.0
-
1) I will try to not use this, because performance. There is better to teach users how to do it "in NAV way" than forcing the forms update automatically
2) Do not forget that there is another way how to refresh parent from subform (using XMLDom and their triggers)
3) You can get into endless loop when updating in top-down order and than bottom-up.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
