barnett100
asked on
'You cannot assign a value to this object'
Hello. I get the above message when I try to enter data into a sub form. The main form 'Referral' is based on a table with the same name and the subform 'youngperson' is also based on a table with that name. the relationship of young person to referral is one to many.If i enter some data into the referral table first and then try to enter data into the subform , i get the message 'you cannot add or change ....because a related record is required in young person'
What am I doing wrong ?
Thanks in advance.
What am I doing wrong ?
Thanks in advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It does ... if your Referrals is the "one" and the YoungPerson is the "Many", you'd store the value of Referrals.IDField in YoungPerson.YourForeignKey Field
ASKER