SSi308 said:
Dirk, I hope you can help me with a similar problem.
I have a form and subform with the master/child links as such:
Link Master Field=Name
Link Child Field=EmpName
My issue is that when I enter through the EmpName field instead of the
field
being populated with the employee's name the name of the form,
ContractsIn,
is entered into this field.
Any idea why?
Thank you in advance for any help.
I suspect it's because "Name" is a very bad choice for the name of a field,
since most objects -- including your form! -- have a Name property. If it's
not too big a chore, I recommend you change the name of the field "Name" to
something more specific (such as "EmpName" or "ContactName") in the table
that holds it and in every query, form, and report that refers to it.
If you don't feel you can do that, then change the name of the *control* on
the main form that is bound to the Name field. Change it to something like
"txtName". Then put the control name in the Link Master Field property.
That should work.
Although the above quick fix ought to work, you really ought to do the more
involved job of changing the name of the field, because using this reserved
word for a field name will probably cause you a lot more trouble down the
road.