Combinding Fields in Table

G

Guest

Is there a way to have 1 field be a combination of several fields in the same
table?
I have 3 fields, program name, date, and the unique identifier number for
the record. I want a 4th field that is a combination of the three. Example:
ProjectA-04042006-01. Is there a way to do this as each row is created?
 
A

Armen Stein

Is there a way to have 1 field be a combination of several fields in the same
table?
I have 3 fields, program name, date, and the unique identifier number for
the record. I want a 4th field that is a combination of the three. Example:
ProjectA-04042006-01. Is there a way to do this as each row is created?

Hi Jenn,

You wouldn't do this in a table - that would be storing redundant data.
In a query, you can make a "calculated" field in a query like this:
CombinedID: [ProjectName] & [ProjectDate] & [ProjectNbr]

Now you can use the query instead of the table.

If you just need the combined value to show up in a form or report, you
can create a textbox control with the same formula above.
 

Ask a Question

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.

Ask a Question

Top