Transferring Data out of pc/MRP

There are many reasons why end-users might want to extract data from pc/MRP. To do this follow the simple guide lines below and you will be successful every time. We will first cover how data is stored in pc/MRP. Then, we will cover how to extract data from pc/MRP. Finally, we will address a few rules to follow.

15.5.1 Existing Data Format

pc/MRP uses a very simple and sturdy file format to store information. This format is DBF or data base file. DBF files are accessible in almost every kind of spreadsheet and database software used today. Furthermore, since pc/MRP is made through using a Microsoft product (FoxPro), almost all other Microsoft products are compatible. This makes the transfer and utilization of data from pc/MRP in Excel and Access especially easy.

There are primarily two methods to extract information from pc/MRP, end-users can either access the entire raw DBF or run reports and rather than send the report to a printer send it to a file type.

 

15.5.2 Accessing the Raw DBF File. (This method is not recommended)

As mentioned above pc/MRP stores all data in DBF files. These files exist in the pcmrpw directory. Most of them are intuitively logical in what they are called; sales order DBF is sales.dbf. These files are accessible through most spreadsheets and databases that are made today. Accessing the DBF files directly however is very dangerous. To ensure that data is not lost while you are manipulating the data follow the simple steps below.

15.5.3 Opening the Raw DBF File in Access.

Once again if you are opening a DBF file, and this DBF file has a DBT or FPT file, you must use Access to open the DBF file. Follow the instructions listed below to open the DBF and DBT in Access.

15.5.4 Opening the Raw DBF File in Excel.

15.5.5 Sending Data to a File Type

In many places in pc/MRP when end-users run reports there are several output options. As the picture below depicts end-users can send reports to: the display, Printers, or the file types of, ASCII, XLS, and DBF.

 

The best option if you intent on utilizing the information in Excel or Access is to send the report to a DBF file. Once this has been selected and you press OK to run the report you will be prompted with the next screen to save this file.

Save this report to the desired location with an applicable name. Do not change the file extension. Write this name and location on a piece of paper. We now have a few decisions to make.

What type of report did you make?

15.5.6 Opening Reports in Access

For BOM reports we must use Access to convert the file into a readable format for Excel.  (If you do not have MS Access you will not be able to finish this import) Follow the steps listed below.

15.5.7 Opening Reports in Excel

To open DBF files in Excel follow the steps listed below.

15.5.8 The Rules

Follow the rules below:

Note: You cannot import just one field and have the rest of the data line up.