Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to add 3 fields into a new field ?

Status
Not open for further replies.

manoskok

Technical User
Mar 15, 2001
20
GR
Please help
I have a table where I enter information about a specific microbiological analysis,
tblDigmatol (DigmatolID, CustomerID, Date, etc)

What I need is to have a calculated field in that table consisted from the above 3 fields together in one word (eg DigmatolID=23, CustomerID=AFGT, Date=3/5/01)

How can I make the table (tblDigmatol) for each new entry
to get all the above 3 fields toghether (23AFDT3/5/01) and put this information
as text into a new field ?

Thanks in advance
 
You can't do this at the table level, you'll have to do it in an event on your form for entering data. However I must say that this is not a very good idea to put data together like that and store it in a field. You can always store them separately and put them together via queries for presentation purposes. But storing multiple data in one field like that breaks First Normal Form rules.

HTH Joe Miller
joe.miller@flotech.net
 
Thanks a lot for your help on this.
My idea was to have the db to construct automatically
a specific field in order to identify each analysis in addition to the table primary field (DigmatolID).
Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top