B
BonnieW via AccessMonster.com
Hello!
I have two forms. One is bound to a table of volunteers, the other is bound
to a table of their efforts. The effort form gets data about the volunteers
in a one-to-many fashion (one volunteer, hopefully many efforts). In the
effort table, we have fields for PeopleID, but that's it. In the people
table, we have no identifiers for effort.
I'd like to be able to display the volunteer's first and last name on the
effort form, so that the user can tell what's going on "behind the scenes"
and to prevent entry error. For the first volunteer I choose, there's no
problem with this- it'll display, qiute nicely, PeopleID: 1, Name: John Smith.
However, when I leave the effort form, choose another person, and come back,
the Name field doesn't refresh. I'll get the correct PeopleID, but the old
name, no matter how many people I re-select. I can get down to PeopleID: 53,
and the name will still display as John Smith.
I've checked the code behind the boxes; the Properties are identical between
the two, except for the lack of a Control Source for Name (Name is not
actually the name of the field, no worries there). I've tried setting a
query up as the control source, but no dice. I'd be happy to have a query
set up as the record source, but right now I have first and last name in one
field, concatenated for user ease (we have many people with long first names
and short last names, and vice versa), and I've no idea if I can even do that
with a sql query.
Any sort of suggestions would be very helpful. Thanks in advance.
I have two forms. One is bound to a table of volunteers, the other is bound
to a table of their efforts. The effort form gets data about the volunteers
in a one-to-many fashion (one volunteer, hopefully many efforts). In the
effort table, we have fields for PeopleID, but that's it. In the people
table, we have no identifiers for effort.
I'd like to be able to display the volunteer's first and last name on the
effort form, so that the user can tell what's going on "behind the scenes"
and to prevent entry error. For the first volunteer I choose, there's no
problem with this- it'll display, qiute nicely, PeopleID: 1, Name: John Smith.
However, when I leave the effort form, choose another person, and come back,
the Name field doesn't refresh. I'll get the correct PeopleID, but the old
name, no matter how many people I re-select. I can get down to PeopleID: 53,
and the name will still display as John Smith.
I've checked the code behind the boxes; the Properties are identical between
the two, except for the lack of a Control Source for Name (Name is not
actually the name of the field, no worries there). I've tried setting a
query up as the control source, but no dice. I'd be happy to have a query
set up as the record source, but right now I have first and last name in one
field, concatenated for user ease (we have many people with long first names
and short last names, and vice versa), and I've no idea if I can even do that
with a sql query.
Any sort of suggestions would be very helpful. Thanks in advance.