logo elektroda
logo elektroda
X
logo elektroda

[Solved] Addressing Access Message: Index and Primary Key Cannot Contain NULL Values

marek_kkk 4863 3
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 16310247
    marek_kkk
    Level 13  
    Hello

    I have created a simple database with Nr_id, Sex, DataUrodzi, these data are taken from the query to the list on the form. If there is a need to change data, double-click on a given record on the list, which automatically fills in the fields NR_id, Plec, DataUrodzi, and after editing the data in the above-mentioned fields, click on the "Confirm data change" button. Changes are saved. Then I click the "Clear form" button, which clears the fields NR_id, Plec, BirthDate and if the next step is to click "Close form", the message " The index and primary key cannot contain NULL values ". Can someone tell you how to get rid of this message (where did I make a mistake)
    kisses
  • ADVERTISEMENT
  • #2 16313375
    clubs
    Level 38  
    Hello
    Remove the key from NR_id
  • ADVERTISEMENT
  • #3 17298157
    marek_kkk
    Level 13  
    Thanks helped.

    greetings
  • #4 17298158
    marek_kkk
    Level 13  
    Thanks helped.

    greetings

    Added after 1 [minutes]:

    I deleted the key NR_Id
ADVERTISEMENT