REFERENCE CHEMISTRY DATABASES Maureen Suryaatmadja Graduate Research Assistant Agricultural Engineering Iowa State University October 31st, 2005 Background Old reference chemistry databases were not well organized. The reference chemistry databases need to be well documented to support quality control program. “Sloppy records and poor records maintenance likely reflect poor quality control in other areas of operations and will give that impression to others". (Garfield, 1991). Objective To develop well organized reference chemistry databases as part of quality control program. Old Reference Chemistry DB (EXCEL) Old Reference Chemistry DB (EXCEL) New Reference Chemistry DB Structure of Reference Chemistry DB consist of 5 tables for both Soybeans and Corn databases. The databases were build in Microsoft Access. Soybean Chemistry Structure and Content Master Proximate Moisture and Physical Properties FA AA ID3 ID3 ID3 ID3 ID3 VAL(%) ID1 Date of test Date of the test Universal ID ID1 MET(%) Universal ID Lab doing the test Lab Doing the test Date of test Date of test ISO(%) Date of Updated Weight Protein 13% (%) GAC MC (%) Lab doing the test Lab doing the test LEU(%) State Prot Q/C Bias (%) O1 (%) On hand date TAU (%) TYR(%) Origin Oil 13% (%) O2 (%) palmitic 16:0 (%) HYP (%) PHE(%) Variety Co Oil Q/C Bias (%) Oven Moist. 1 (%) stearic 18:0 (%) ASP (%) HYL(%) Variety No Fiber 13% (%) Std. dev Reps 1 (%) oleic 18:1 (%) THR (%) HIS(%) Class Fiber Q/C Bias (%) Oven Moist. 2 (%) linoleic 18:2 (%) SER (%) ORN(%) Original Weight (gram) NSI 13% (%) Std. dev Reps 2 (%) linolenic 18:3(%) GLU (%) LYS(%) Current Weight (gram) FFA 13% (%) TW kettle (bu/lb) Total Saturates (%Oil) PRO (%) ARG(%) LAN (%) TRY(%) AA Flag GLY (%) TOT (%) FA Flag ALA (%) Sugars Flag CYS (%) Proximate Flag SET Flag TGW 13% (bu/lb) Corn Databases Structure and Content Master Proximate Moisture and Physical Properties Density AA ID3 ID3 ID3 ID3 ID3 VAL (%) ID1 ID31 Date of test Date of test ID1 MET (%) Universal ID Date of test Lab doing the test Lab doing the test Date of test ISO (%) Last Update for Weight Lab doing the test GAC MC (%) DEN 15% (gr/cm3) Lab doing the test LEU(%) State Protein 15% (%) O1 (%) TAU(%) TYR(%) Origin Prot. Q/C bias (%) O2 (%) HYP(%) PHE(%) Hybrid Co Oil 15% Oven GMST (%) ASP(%) HYL(%) Hybrid No Oil Q/C bias (%) Oven Moist.1 (%) THR(%) HIS (%) Class Starch 15% (%) Std. Dev Reps 1 (%) SER(%) ORN(%) Original Weight (gram) Starch Q/C bias (%) Oven Moist. 2 (%) GLU(%) LYS(%) Current Weight (gram) Std Dev. Reps 2(%) PRO(%) ARG(%) Proximate Flag TW kettle (bu/lb) LAN(%) TRY(%) AA Flag TW 15% (bu/lb) GLY(%) TOT (%) SET Flag TGW 15% (bu/lb) ALA(%) CYS(%) Step to build new databases 1. 2. 3. 4. The old reference chemistry databases are organized and separated according to the table that will be build. (in Excel) Additional information are added to the new table, such as date of the test and Lab doing the test. The individual files such as calibration, oven moisture, density might be useful to find information about the samples. The new databases in the Excel are imported to the Access. Step to build new databases Step to build new databases How to import file in Access How to import file in Access How to import file in Access How to import file in Access How to import file in Access How to import file in Access How to import file in Access How to import file in Access Field Design Complete Databases Example (Soybeans Master Table) Example (Soybean Proximate Table) How to link tables 1. 2. 3. 4. 5. Save Sheet in Excel in “webpage format” (This will be table in Access). Open Access, Click Get External DataLink Table. When the dialog box appears, choose “html document” for the file type. Select table that you want to connect. Follow step in the dialog box, before you finish, click “advanced” to make sure the field data type are right. Link Tables Link Tables Link Tables Link Table-specify field data type Link Table- name table How to add/update data 1. – – 2. 3. – – Find the respective files for each table, for example: To update Master table, use the calibration file for the respective year. To update Proximate table, use the Proximate Results from Eurofins (In the Completed form Folder) for the respective year. Copy the files to the Excel Databases according to field available, you may need to arrange the file before making a copy to Excel Databases. Save the file as the table name in “webpage” format. For example: If you update Proximate table, save “Proximate” sheet in Excel as webpage format, choose “selection sheet”, save as “Proximate”, it will replace the existed file. Notes: every table in database is linked to the webpage file, but to update, you need to use Excel database. Update File How to add the data Another way to add the data is to type the new data directly to the Access. (This is so time consuming). Reference Chemistry Files Location Table File Needed Location Master Calibration file \\graibin\Nircal\CNXX or SBXX Proximate Proximate file from Eurofins \\graibin\References\Completed Form\XXXX\CN or SB Moisture and Physical Calibration File \\graibin\Nircal\CNXX or SBXX Oven Moisture File \\graibin\References\CNorSB\Oven Moisture\SbmoistXX or CnmoistXX Amino Acid file \\graibin\References\Completed Form\XXXX\CN or SB (University of Missouri) \\graibin\References\Soybeans or Corn\Amino Acid\ Properties AA (Amino Acid) Soybeans/Corn AA Reference Data Paper File FA (Fatty Acid), Soybeans Fatty Acid File \\graibin\References\Completed Form\XXXX\CN or SB (Walt Fehr Lab) \\graibin\References\Soybeans\Fatty Acid\ Soybeans Fatty Acid Reference Data Paper File Density, Corn Density File \\graibin\References\Corn\Density\CndensXXXX How to make query How to make query How to make query How to make query >20030000 Query Result How to make query >=20030001 AND <20040001 How to make query Analyze the data in Excel Analyze data in Excel Where are the Reference Chemistry DB located? The Reference Chemistry Databases are available at: \\grainbin\References\Soybean DB \\grainbin\References\Corn DB QUESTION ? SUGGESTION ?