Options

Blank record insert in table

vijay_gvijay_g Member Posts: 884
edited 2010-04-20 in Navision Attain
hi,
i have made a form(Tabular) based on purchase header, while putting only posting date in form record has inserted in table with blank primary key value.
what's happening....

Comments

  • Options
    rmpatel22rmpatel22 Member Posts: 80
    You can go to desing mode of table and change value of "NotBlank" Property to "Yes" for your primery key field, then it will not insert record with blank primery key value.
    Rakesh Patel
    Navision Developer
  • Options
    einsTeIn.NETeinsTeIn.NET Member Posts: 1,050
    That's the normal way if you don't enter a value to the primary key or predefine some values by properties or by code. Just go to the last record in your form and go forwards to a new record. I would guess to set the property InsertAllowed to No.
    "Money is likewise the greatest chance and the greatest scourge of mankind."
Sign In or Register to comment.