M
Matthew DeAngelis
Hello everyone,
I am rebuilding an existing database and was hoping that I could build
an update query to do some of the work for me. We have too many memo
fields, some of which are used in some records and some in others, and
we would like to collapse most of them into one field with divisions
between the data and eliminating the nulls. To illustrate:
Technology IP BusinessModel
Record 1: Gene 1 yadda yadda yadda
Record 2: yes and so forth
I want it to look like this:
ConcatenatedField
Record 1: Technology: Gene 1
Business Model: yadda yadda yadda
Record 2: IP: yes
Business Model: and so forth
I figured that I could just build an expression in the Update To field
with some variation on "Technology: " & [Technology] & <two carriage
returns, although I don't know how to do this> & "IP: " & [IP] & <two
carriage returns>...
However, I discovered that I can't even get the update query to update
with information from a single field in the same record (i.e. can't
just put [Technology] or [Companies]![Technology] without it prompting
for the value), much less figure out how to mush them all together with
the proper spacing and tests for nulls.
Can anyone out there get me started? Any tips at all would be better
than where I am now.
Thanks,
Matt
I am rebuilding an existing database and was hoping that I could build
an update query to do some of the work for me. We have too many memo
fields, some of which are used in some records and some in others, and
we would like to collapse most of them into one field with divisions
between the data and eliminating the nulls. To illustrate:
Technology IP BusinessModel
Record 1: Gene 1 yadda yadda yadda
Record 2: yes and so forth
I want it to look like this:
ConcatenatedField
Record 1: Technology: Gene 1
Business Model: yadda yadda yadda
Record 2: IP: yes
Business Model: and so forth
I figured that I could just build an expression in the Update To field
with some variation on "Technology: " & [Technology] & <two carriage
returns, although I don't know how to do this> & "IP: " & [IP] & <two
carriage returns>...
However, I discovered that I can't even get the update query to update
with information from a single field in the same record (i.e. can't
just put [Technology] or [Companies]![Technology] without it prompting
for the value), much less figure out how to mush them all together with
the proper spacing and tests for nulls.
Can anyone out there get me started? Any tips at all would be better
than where I am now.
Thanks,
Matt