Another way which would more closely resemble standard database design,
would be to build a separate table for the Exercise and then select which
users attended. In the users table, you could find all the exercises they
had attended as well.
This seems to be a classic many-to-many relationship situation.
It might even need to be a many-to-many relationship now that I think about
it.
Table1 - one record per PersonName, Info, Etc. Key = UserID?
Table2 - one record per exercise with dates and comments Key = Exerc#?
Table 3 - UserID and Exerc# (many records with one person and one
exercise per record)
That's what you need!
If you insist on doing it the way you have it now, other than having a field
in your main form that would use code to place it's contents into all the
records of your subform, I can't think of a way to do it. I have never seen
a post with this type of code, but it should be doable.
It might need to be a loop that cycles through each record in the recordset
and changes the value for the particular field to the value of your input
field at the top.
HTH
Rick B
Thank you Rick, but this is not what I want to do.
In my situation I have Form A with SubForm B.
I want to be able to call certain records, lets say who
attended military exercise. Once I have all the names
(records) I want be able to enter particulars such as
Exercise name, dates, and comments. ALL IN ONE SHOT.
I do not want to enter this data (which would be the same
for all records) individually.
Can this be done in Access? If so, how? please KISS....
Thanks, John