My Assistant
|
|
Feb 24 2012, 07:41 AM
Post
#1
|
|
|
UtterAccess Member Posts: 38 |
Hi, I hope someone can help!
I have a database that was working fine yesterday. I tired to enter in information into my form and today I am getting a pop up box that indicates I have a Index or primary key containing a null value. I have checked all of my tabels and relationships and I cannot seem to find this "null value" am I missing something? It seems I can enter in data into my table directly but not the form linked to that table.... I have looked and no relationship are broken... I am stumped. Thanks in advance. M (IMG:style_emoticons/default/iconfused.gif) This post has been edited by miedward: Feb 24 2012, 08:13 AM |
|
|
|
![]() |
Feb 24 2012, 07:58 AM
Post
#2
|
|
|
UtterAccess VIP Posts: 4,582 From: From Hawaii - Now in Wisconsin...Am I Nuts? |
Are you using a free text type field as your primary key where the user enters a value? If so, you should use an auto-id instead. This way the primary key is automatically entered once an entry is made in the record. If you're using that field because you do not want duplicates then you can just set it to not allow duplicates in the table by indexing it.
|
|
|
|
miedward Index Or Primay Key Cannot Contin A Null Value Error Feb 24 2012, 07:41 AM
niesz You will not be able to find it in the tables beca... Feb 24 2012, 07:45 AM
miedward the primay key is set as an autonumber. I have tri... Feb 24 2012, 08:19 AM
BruceM I would try removing the record source from the fo... Feb 24 2012, 08:50 AM
miedward Hey I Figured it out, all I had to do was go into ... Feb 24 2012, 08:54 AM
accesshawaii Glad you got it working. Good luck with your proje... Feb 24 2012, 09:00 AM![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 19th May 2013 - 09:10 AM |