Kostas Konstantinidis
kost36 at otenet.gr
Fri Mar 14 04:39:24 CDT 2014
Hi Bill, no, it's unique only in people and not in peoplefilms because the most usual for a person is to appear more than one time in the same movie (e.g. as director and as an actor too) the weird is that it works for another similar database (for short films) in which the relationships are designed exactly the same field by field people ID_people --> Auto increment, Primary, Not Null, Unique person --> Primary, Not Null, Unique sex --> a simple checkbox peoplefilms aa_peoplefilms --> Auto increment, Primary, Not Null ID_films --> Primary, Not Null ID_person --> Primary, Not Null thank's for your response /kostas -----Αρχικό μήνυμα----- From: Bill Benson Sent: Friday, March 14, 2014 1:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] field cannot be updated... Can you make changes BEFORE you add a record? It smells like one of those not update able query issue that happens when Access can't prove to itself there could be one and only one record that reults from the join. Which would be, if you joined on a key that is unique in both tables. Is IDPerson unique in both tables? If not, I would be surprised you could update existing records either, whether the field be aa or sex. On Mar 13, 2014 7:26 PM, "Kostas Konstantinidis" <kost36 at otenet.gr> wrote: > Hi, > I use a subform with a record source: > > SELECT peoplefilms.aa, peoplefilms.IDperson, people.sex > FROM people INNER JOIN peoplefilms ON people.IDperson = > peoplefilms.IDperson; > > on peoplefilms.IDperson there is also a "not in list" event which works > adding any new record on people > > the problem is that after a "not in list"... I can't make any change on > people.sex > have tried refresh or requery but nothing changes > > > thank's a lot > > /kostas > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com