Can't get the error message meaning : You cannot rename...

tisatisa Member Posts: 3
Hi All,

I got the error message when i was going to insert one new record. this table is created by myself. the table name is Prodcut Line

the error is:

You cannot rename a record because the old value of the field below is '',
Field: Code
Table:Product Line

I dont know how to solve this error.

Thanks for Help!!!!!!!!
Tisa

Comments

  • kinekine Member Posts: 12,562
    Without context (code, from where is called etc.) I cannot help you. It seems that you have wrong code design or you need to update your form after some action through code...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • rajpatelbcarajpatelbca Member Posts: 178
    tisa wrote:
    Hi All,

    I got the error message when i was going to insert one new record. this table is created by myself. the table name is Prodcut Line

    the error is:

    You cannot rename a record because the old value of the field below is '',
    Field: Code
    Table:Product Line

    I dont know how to solve this error.

    Thanks for Help!!!!!!!!

    i think there should be a record containing '' (blank) value in primary key.
    check it.
    Experience Makes Man Perfect....
    Rajesh Patel
  • garakgarak Member Posts: 3,263
    check properties of the pk field and your code design.
    For more help, let us see your code.

    regards
    Do you make it right, it works too!
  • David_SingletonDavid_Singleton Member Posts: 5,479
    tisa wrote:
    Hi All,

    I got the error message when i was going to insert one new record. this table is created by myself. the table name is Prodcut Line

    the error is:

    You cannot rename a record because the old value of the field below is '',
    Field: Code
    Table:Product Line

    I dont know how to solve this error.

    Thanks for Help!!!!!!!!

    Navision does not allow you to rename blank records. the reason for this is historical, and goes back to the way Navision handles the deletion of Items, Customers etc, by marking all the existing entries as blank. Even though this was a function of the Native database in DOS, it has survived to today for compatibility reasons, and is even implemented in SQL.
    David Singleton
  • tisatisa Member Posts: 3
    Hi All, the problem is solved. thanks for you guys help :D

    my solution just said the code field to not blank.
    Tisa
Sign In or Register to comment.