Another weird one
rhpnt
Posts: 688
First of all happy new year to all of you.
It seems I have stumbled over a pretty interesting db - or my knowledge of NAV is lacking. Let's see.
As I migrated data (std NAV data migration tool) the errors pointed to a table that turned out to be a mystery to me. It's a table with two fields of types int-primary key and text-50 char. All the table and field properties are set to default (triple check), there is no code behind and yet I'm unable to insert any data. There is no message, the cursor simply won't jump to the next line. There is no data in the table but some of the other tables point to the primary key field of it. I have a developer license and SUPER user rights.
Any ideas?
It seems I have stumbled over a pretty interesting db - or my knowledge of NAV is lacking. Let's see.
As I migrated data (std NAV data migration tool) the errors pointed to a table that turned out to be a mystery to me. It's a table with two fields of types int-primary key and text-50 char. All the table and field properties are set to default (triple check), there is no code behind and yet I'm unable to insert any data. There is no message, the cursor simply won't jump to the next line. There is no data in the table but some of the other tables point to the primary key field of it. I have a developer license and SUPER user rights.
Any ideas?
0
Answers
-
Maybe you could check in the database (with SQL Server's Management Studio) if the table which you refer to is in fact a View? That might explain why you can't add records to it.0
-
I forgot to write that in my first post; It's a SQL Server database (2008 R2) and it's a simple table - I also checked all the SQL table/field properties, login rights, user rights to no avail.0
-
Try running the table from the Object Designer instead of through a form. If you still can't input any data, then the Editable-property of the fields is set to "No". Check also the permissions for that table with your license (see How To determine what objects can be read with the current license file?).No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
-
Thanks for replying Luc.
I am testing the table directly through the object designer, all of the table and field properties are default, SUPER is default.... The thing is, I can input data into those two fields but the cursor won't jump to the next line to insert the data into the table it just stops. No coding behind. I'm using a dev license - object included.
Below is the original table definition (name is altered):OBJECT Table 60004 SomeTable { OBJECT-PROPERTIES { Date=15.11.10; Time=18:52:18; Version List=SomeVersion; } PROPERTIES { CaptionML=DEA=SomeTable; LookupFormID=Form84057; DrillDownFormID=Form84057; } FIELDS { { 50002; ;Lfd. Nr. ;Integer ;CaptionML=[FRA=Nø s‚quence; DEA=Lfd. Nr.] } { 50004; ;Beschreibung ;Text50 ;CaptionML=[FRA=D‚signation; DEA=Beschreibung] } } KEYS { { ;Lfd. Nr. ;Clustered=Yes } } CODE { BEGIN END. } }0 -
-
Hmm...0
-
I was able to insert one row of data directly through SSMS and lookie, lookie...works like a charm now. That's something to remember.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
- 611 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
