Calcfield + Modify Permissions
Reinhard
Member Posts: 249
Hello Mibuso!
Here's the scenario: on the employee card, we have added the picture of the employee. Now, when I try to create a user with only READ permissions on the employee table, and I try to go to the next record, I get an error saying that I don't have permission to modify the record.
Once I delete the picture box off of the form, I don't get this error any more.
Nav 4.0.
Can someone help me resolve this or maybe offer some insight?
Here's the scenario: on the employee card, we have added the picture of the employee. Now, when I try to create a user with only READ permissions on the employee table, and I try to go to the next record, I get an error saying that I don't have permission to modify the record.
Once I delete the picture box off of the form, I don't get this error any more.
Nav 4.0.
Can someone help me resolve this or maybe offer some insight?
0
Comments
-
You could try giving indirect permission to modify the table. I'm not sure why it would need it, though. Definitely no code behind the picture box?0
-
This is what I think is happening:
after you get the record, the Picture BLOB field is Calculated. after the record is retrieved, this field is initially empty. now when I go to the next record, it sees Rec does not match xRec and tries to save the record.
Our solution is, to set autoCalcField to No for the picture box.
then, after get record:IF Rec.WRITEPERMISSION THEN CALCFIELDS(Picture);
So the user won't get to see the picture, but at least can see the rest of the information in the employee record.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
