P
Paul Pennington
Can someone tell me how to create one concatenated
string from a set of records in a subform?
I am creating a research database for my doctoral
studies. Each item entered in the resource table (book,
article, etc.) can have multiple authors. So I have a
separate authors table, then a link table that allows
multiple authorIDs to connect to one resourceID.
On the Resource entry form I have a subform that shows
what authors are linked to that resource (or if none, I
can add them).
My last field takes all of the bibliographic data from
the different fields and concatenates them into a Citation
string for quick reference and export purposes. How do I
get the multiple author names and concatenate them into
the beginning of that Citation string. I have the build
string in the property's "default value" set as:
=[subfAuthors_in_a_Resource].[Form]![Lastname] & ", " &
[subfAuthors_in_a_Resource].[Form]![Initials] & ". " & "("
& [Date] & "). " & [Article] & ". " & [Title] & ", " &
[Edition] & ". " & [Publisher subform].[Form]!
[PublisherLocation] & ": " & [Publisher subform].[Form]!
[PublisherName] & ". " & [Accessed] & "."
Currently I have to save the record, then return to the
record and put my cursor in the Citation field. When I do
<ctl><alt><space> the field updates and includes the first
author name in the subform only.
I would actually prefer that after leaving the previous
field, the Citation string field automatically self-
creates. If you have any suggestions for that, it would
be appreciated too.
Thanks,
Paul Pennington
University of Cincinnati
string from a set of records in a subform?
I am creating a research database for my doctoral
studies. Each item entered in the resource table (book,
article, etc.) can have multiple authors. So I have a
separate authors table, then a link table that allows
multiple authorIDs to connect to one resourceID.
On the Resource entry form I have a subform that shows
what authors are linked to that resource (or if none, I
can add them).
My last field takes all of the bibliographic data from
the different fields and concatenates them into a Citation
string for quick reference and export purposes. How do I
get the multiple author names and concatenate them into
the beginning of that Citation string. I have the build
string in the property's "default value" set as:
=[subfAuthors_in_a_Resource].[Form]![Lastname] & ", " &
[subfAuthors_in_a_Resource].[Form]![Initials] & ". " & "("
& [Date] & "). " & [Article] & ". " & [Title] & ", " &
[Edition] & ". " & [Publisher subform].[Form]!
[PublisherLocation] & ": " & [Publisher subform].[Form]!
[PublisherName] & ". " & [Accessed] & "."
Currently I have to save the record, then return to the
record and put my cursor in the Citation field. When I do
<ctl><alt><space> the field updates and includes the first
author name in the subform only.
I would actually prefer that after leaving the previous
field, the Citation string field automatically self-
creates. If you have any suggestions for that, it would
be appreciated too.
Thanks,
Paul Pennington
University of Cincinnati