G
Guest
i need som help with this
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
milton said:i need som help with this
Joseph said:You would use an update query. You would create the new field in
the table first.
Joseph said:I am sorry that I did not provide detailed information. It appears you
will need detailed information.
The problem is you question is a little vague so it is difficult to
understand the situation well enough to provide the information. In
addition I agree with the others on the issue of duplicating the information
in the table.
There are two likely situations. First, my assumption, was that you
want to combine two fields of text type data into a single new field and
then delete the first two fields. You would do this if you would not need
to take them apart later. The other possibility is you want to combine them
to use the combined field for some functions and still keep the others. You
don't really want to do this. You waste space, slow down Access and if any
of the original data were updated, the combined filed would not be
automatically updated.
Smartin said:Just playing devil's advocate here... mightn't there be a case for
storing redundant data? I'm not necessarily saying the OP should do
this, but wondering more generally if sometimes it is appropriate.
Imaginary scenario: Three fields are used to store three attributes
of, say, a part number. Some end users have frequent need to search
on the concatenated result of these fields and would never need to
break down their search to one or two attributes. Wouldn't storing
the concatenated result in a fourth (redundant) column speed up
searches and simplify queries?
The real life scenario I know of is an application database at work.
Some tables store names (as entered by the user) and redundant columns
with the name in upper case. According to the vendor this design
speeds up name searches.
On the other hand, the real life example is an Oracle DB and we can
make use of triggers to fill the redundant columns. I agree though
that with the absence of triggers, populating a redundant column
automatically is more complicated.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.