error:Record already exist?
mdsr
Member Posts: 163
hi I have created table QC Master and corresponding page
field :item no.
: test method
when i run and add item in item no. field it takes value but when next record i added same item on item number field it giving me error Record already exist
why so?i need to add multiple test method for same item in table/page

thanks in advance
field :item no.
: test method
when i run and add item in item no. field it takes value but when next record i added same item on item number field it giving me error Record already exist
why so?i need to add multiple test method for same item in table/page

thanks in advance
0
Answers
-
Set the DelayedInsert property of your page to TRUE. So the record does not insert until you move of the line and have entered your "Test Method". Also be sure your table has a 2 part primary key. Perhaps "Item No.", "Test Method".
You may also want to set those 2 fields to "Not Blanks"
There are no bugs - only undocumented features.0 -
1. What your primary key looks like?
2. What your page properties looks like?0 -
primary key item no.
i have not set other properties on page than bbrown said0 -
When your primary key is only Item No., you can not insert record for the same item, because NAV requires primary key to be unique. You should add columns to your primary key as bbrown said0
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
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 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