user problem

AST
Member Posts: 108
Hi, I developed form based on some table where there is code in OnOpenForm trigger which modify one field in this table.
For one user everything is ok, but the second user doesn't see modified value unless first user open this form. :-k
Do you have any idea where the problem is? Both users have the same permission in Navision and SQL Server.
This problem appers for my client and I can't simulate it.
Nav4.03 is on Sql Server 2005.
For one user everything is ok, but the second user doesn't see modified value unless first user open this form. :-k
Do you have any idea where the problem is? Both users have the same permission in Navision and SQL Server.
This problem appers for my client and I can't simulate it.
Nav4.03 is on Sql Server 2005.
0
Comments
-
can you show us the code you have put in OnOpenForm trigger ?
After modifying the field in question , do you issue MODIFY for the table ?0 -
I do modify for the table.0
-
your second user has the data cached on his computer but you can force him to re-get the data from server lets say every second but it will create a lot of network traffic. I think CurrForm.UPDATE(FALSE) should do the trick.
Is it absolutely necessary for your user to see what other users are doing ? In most cases it should be enough to check on when trying to do something with the data if something was changed by others earlier. So for example if you open an item card and then 5 minutes later try to modify anything after other user has blocked it - the result will be you will get reported that item was modified by other user so u will be forced to reread item info and then u saee that is has been blocked0 -
Hi, where to put CurrForm.UPDATE(FALSE) code? In OnOpenForm trigger?
I don't understand why second user has cached wrong (not complete) data and for first user everthing is ok.0 -
I made a little test: when second user login to Navision on first user's computer everything is ok, he see correct data but on his computer he doesn't see some data.
Where this data is cached? I'm a little confused, becouse I don't understand the problem. Could someone explain it to me?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