Example:
Productcode /Desc. / Ischildofproductcode
MP001/ X /
Tx003 / / MP001
I need to take the value from the field “Desc.” In the MP001 record and give that value to the field “desc.” In the TX003 record using the “ischildofproductcode” field to make the comparison. **Please note, I need to do this on a large scale for about 40k records, I will be using MS Access.
2006-07-12
07:08:10
·
6 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Programming & Design
Ok, lets say I am using MS ACCESS
lets say I import the excel file containing the data in question and I name the table (products)
Now I open up the query tab and I go to design view and i write the SQL statement.
I have 3 fields, productcode (which is the primary field) description, and ischildofproductcode
Now, the records which has the descriptions in them can be matched to the records that do not have the descriptions in them by the field "ischildofproductcode", the reocrd which does not have the description will have a value in this field which will match up with a "productcode" in another record which will have the description, how do I write that statement exactly?
2006-07-12
07:43:48 ·
update #1
I think we are getting close but not quite, the syntax you have given is for one record, but the questions states that I have many records and I was only using the example of 1.
2006-07-12
08:16:59 ·
update #2