Hi
I' ve a SQL Table which contain a field IDREC as primary Key with property Identity = yes
When I try to open the table in Nav 4sp2 I receive the following error :
"The Table xxxx contain a field which Autoincrement value daesn't match IDENTITY status of SQL Server : field IDREC"
Navision AutoIncrement property is set to NO
Can someone help me to set a NAv field using SQL Identity property ?
Thanks
Max
0
Comments
And one thing- never set different properties directly on SQL when you are not sure what you are doing. It could lead only into problems...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
I would like to populate the table data from a sql souce external from NAV.
Writing the rec i need to create the index field IDREC
It seem to be a simple thing.....
Max
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
When I wanted to add a new field to the Nav table I ended up in a Catch 22 situation. I got the error
But when I changed the autoincrement of the corresponding field to true, I got the error
So there was no way of changing the Nav table anymore. I ended up exporting the table definition to text, adding the autoincrement property to it, deleting the object and recreating it by importing the txt file.