Need Help: This property is read-only and can't be set

Stefanie

New member
Local time
Today, 05:07
Joined
Nov 2, 2007
Messages
4
I've created some forms and subforms, and everytime I try to enter anything in the subform (in any field) I get the message "property is read-only and can't be set". I have done this before with other dbs and have not gotten this error. I get another error when I try to close the form "Index or primary key cannot contain a null value"...Please Help!
 
do you have th subform set to read only?
 
Maybe I should explain what forms I am talking about :-) I just created this DB today. The Leads table is the main table. In the main form in you click "Enter Additional Patient/Lead Info, it will bring you to the form frmEnterName. The name is grabbed from the Leads table and then clicking on one of the 3 buttons will open a form with a subform. None of the subforms seem to be grabbing from the other tables...
 
I just figured it out

I should not have been using Name as a Field Name. Changing it fixed everything.
 

Users who are viewing this thread

Back
Top Bottom