Error The integer table is readonly

Sog
Member Posts: 1,023
The integer table is readonly, that is the error I get when i do a findset on a record of production bom lines.
I use the integer table as the table for my dataport (ie, the only dataitem is integer), the dataportfields are all global variables.
lv_prdbomline is a local vairable record of production bom line
ii is a local variable of integer
version is NAV 5.0 sp1 running on sqlserver
I use the integer table as the table for my dataport (ie, the only dataitem is integer), the dataportfields are all global variables.
IF lv_prdbomh.GET(prodbom) THEN BEGIN lv_prdbomline.SETRANGE("Production BOM No.",prodbom); ii:=1; IF NOT lv_prdbomline.FINDFIRST THEN BEGIN //<- error launches here REPEAT ... ii+=1lv_prdbomh is a local variable record of production bom header
lv_prdbomline is a local vairable record of production bom line
ii is a local variable of integer
version is NAV 5.0 sp1 running on sqlserver
0
Answers
-
Hi,
I would guess that you have not changed the default values for the dataport on the Integer dataitem:
AutoSave, AutoSave.
Make sure they are set to No.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
- 322 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