need help,how to fix this error

baru
Member Posts: 27
After i 'm delete all rec in table and insert new rec for that table in code.
every time i go to next rec for the first time it show this message:
cannot modify in this form.
can anybody help me,plzz?
every time i go to next rec for the first time it show this message:
cannot modify in this form.
can anybody help me,plzz?
0
Comments
-
It depend on in which trigger you are doing this job and how you call this form and on his properties... please, more info...0
-
i create a form with table box and subform, table box and subform table source table is same,but only table view is diffrent.
table FIELD is like this:
1.code
2.code2
3.desc
4.count
example rec is like this:
code code2 desc count
C1 '' A 4
C1 CA1 A1 3
C1 CA2 A2 1
C2 '' B 2
C2 CB1 B1 2
table box only show rec with code2=''. when currrec in the table box is C1 subform only view CA1,CA2 and so on.
in this form i create textbox with option.
when i change the option, i delete all the rec and insert new rec.
the subform view the last rec that i before delete. then when i go to next rec it show this message:
cannot modify in this form.
after i ok then message .sub form view back to normal.
sorry, if my explain is confusing :oops: .0 -
Try to call CurrForm.UPDATE(False) in the subform when you are changing the data... (for example through some new function in the sub-form...)0
-
Thx alot for u suggest, Kine. it solve the problem
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