Lab Note #12: How to Excel with your Data

Now that you have installed and setup ODBC (Lab Note #11), let's access your HP3000 data with Microsoft Excel.
My example uses a DSN named MNTDBE for eAM Asset Management, formerly MNT Maintenance Management.
Start up MS Excel and try these steps. (Oh, I'm still using Office 97 on WinNT 4.0)

1.
  
Top Menu:
            
Under "Data", choose Get External Data, then Create New Query.
2.
  
Choose Data Source:
    
select your DSN [MNTDBE]; select the box "Use the Query Wizard..."; click OK.
 
   
Query Wizard
3.
  
- Choose Columns:
      
Expand table ITEM_DATA, double click or move the following fields; click Next.
                            PART_NUMBER,  DATE_ADDED,  DATE_CHANGED,  DATE_OBSOLETE

4.
  
- Filter Data:
           
No filter; click Next.
5.
  
- Sort Order:
           
No sort; click Next.
6.
  
- Finish:
              
select Return data to Excel; optionally save your query; click Finish.
7.
  
Returning External Data:
  
select Existing worksheet; click OK.

You should have similar data as seen in Lab Note #10.

PART_NUMBERDATE_ADDEDDATE_CHANGEDDATE_OBSOLETE
102-08 970710  
300-06 970805970805 
201-14 970710970806 
202 970805  
CINEMASCOPE LENSA00301A00301A70707
100-08 970710  
201-06 970710970806 

And if you are running on MPE 6.5 with the patch as described in Lab Note #10, your data would be similar to this,
using a date Custom format of "mm/dd/yyyy".

PART_NUMBERDATE_ADDEDDATE_CHANGEDDATE_OBSOLETE
102-08 07/10/199712/31/990112/31/9901
300-06 08/05/199708/05/199712/31/9901
201-14 07/10/199708/06/199712/31/9901
202 08/05/199712/31/990112/31/9901
CINEMASCOPE LENS03/01/200003/01/200007/07/2007
100-08 07/10/199712/31/990112/31/9901
201-06 07/10/199708/06/199712/31/9901

Your mission, should you decide to accept it, is to try this in MS Access, then MS Word. Maybe you could get an
Excel macro to find and email some data to someone, or produce some HTML for web viewing.
Now you should be able to see excellent possibilities with which to excel.

Lab Note #12: How to Excel with your Data, 24 Jan 2002 Keven Miller
Feedback and topic suggestions are welcome and can be sent to technote@exegesys.com.

Lab Notes are hints & technical notes from the "Labyrinth" (the eXegeSys software lab); so named because of our complex
mission to assimilate understanding the eRP product suite, it's source code, and our development procedures.