A guide to converting an Excel spreadsheet to a flat file ... · A guide to converting an Excel...

13
Opportunity through learning A guide to converting an Excel spreadsheet to a flat file format for importing into HEPCAT Select Blank database…

Transcript of A guide to converting an Excel spreadsheet to a flat file ... · A guide to converting an Excel...

Page 1: A guide to converting an Excel spreadsheet to a flat file ... · A guide to converting an Excel spreadsheet to a flat file format for importing into HEPCAT 9 2. All Data Types must

Opportunity through learning

A guide to converting an Excel spreadsheet to a flat file format for importing into HEPCAT

Select Blank database…

Page 2: A guide to converting an Excel spreadsheet to a flat file ... · A guide to converting an Excel spreadsheet to a flat file format for importing into HEPCAT 9 2. All Data Types must

A guide to converting an Excel spreadsheet to a flat file format for importing into HEPCAT

2

Click on the Browse folder…

1. Navigate to desired folder

location

2. Enter new file name

3. Click OK

Page 3: A guide to converting an Excel spreadsheet to a flat file ... · A guide to converting an Excel spreadsheet to a flat file format for importing into HEPCAT 9 2. All Data Types must

A guide to converting an Excel spreadsheet to a flat file format for importing into HEPCAT

3

Click Create

2. Click External Data

1. Click Excel icon

Page 4: A guide to converting an Excel spreadsheet to a flat file ... · A guide to converting an Excel spreadsheet to a flat file format for importing into HEPCAT 9 2. All Data Types must

A guide to converting an Excel spreadsheet to a flat file format for importing into HEPCAT

4

Click Browse…

1. Go to the file location of the Excel

spreadsheet that has to be imported

2. Select the file

3. Click Open

Page 5: A guide to converting an Excel spreadsheet to a flat file ... · A guide to converting an Excel spreadsheet to a flat file format for importing into HEPCAT 9 2. All Data Types must

A guide to converting an Excel spreadsheet to a flat file format for importing into HEPCAT

5

Click OK

Click Next

Page 6: A guide to converting an Excel spreadsheet to a flat file ... · A guide to converting an Excel spreadsheet to a flat file format for importing into HEPCAT 9 2. All Data Types must

A guide to converting an Excel spreadsheet to a flat file format for importing into HEPCAT

6

Click OK

Deselect First Row Contains Column Headings

Select Next

twice

1. Select No primary key

2. Select Next

Page 7: A guide to converting an Excel spreadsheet to a flat file ... · A guide to converting an Excel spreadsheet to a flat file format for importing into HEPCAT 9 2. All Data Types must

A guide to converting an Excel spreadsheet to a flat file format for importing into HEPCAT

7

Select Finish

Select Close

Page 8: A guide to converting an Excel spreadsheet to a flat file ... · A guide to converting an Excel spreadsheet to a flat file format for importing into HEPCAT 9 2. All Data Types must

A guide to converting an Excel spreadsheet to a flat file format for importing into HEPCAT

8

Double click the newly created

table Sheet1 to open

1. Select the Fields tab

2. Select the Design View button

Page 9: A guide to converting an Excel spreadsheet to a flat file ... · A guide to converting an Excel spreadsheet to a flat file format for importing into HEPCAT 9 2. All Data Types must

A guide to converting an Excel spreadsheet to a flat file format for importing into HEPCAT

9

2. All Data Types must be set to Text

for each field

1. Set the Field Size to the correct length for each Field

The field length for each field can be

found in the appropriate file

specification on HEIMSHELP.

3. Click Save

5. Click Yes

4. Close this screen not

the whole program

1.

Page 10: A guide to converting an Excel spreadsheet to a flat file ... · A guide to converting an Excel spreadsheet to a flat file format for importing into HEPCAT 9 2. All Data Types must

A guide to converting an Excel spreadsheet to a flat file format for importing into HEPCAT

10

Double click table Sheet1 to

open it

Click Text File in the Export

ribbon tab

Page 11: A guide to converting an Excel spreadsheet to a flat file ... · A guide to converting an Excel spreadsheet to a flat file format for importing into HEPCAT 9 2. All Data Types must

A guide to converting an Excel spreadsheet to a flat file format for importing into HEPCAT

11

A text file name will be generated. This

will need to be changed to match the

HEPCAT naming convention. Please

refer to the HEPCAT Naming

Convention document on HEIMSHELP

to locate your requirements.

2. Click Browse if you

want to save to a

different location

1. Click OK

Text files with the quotes and

commas will not load into HEIMS

– therefore select Fixed Width - …

Page 12: A guide to converting an Excel spreadsheet to a flat file ... · A guide to converting an Excel spreadsheet to a flat file format for importing into HEPCAT 9 2. All Data Types must

A guide to converting an Excel spreadsheet to a flat file format for importing into HEPCAT

12

+

Select Next

twice

Select Finish

NOTE: If you did not previously

change the text file name you should

before selecting Finish. Please refer to

the HEPCAT Naming Convention

document on HEIMSHELP.

Page 13: A guide to converting an Excel spreadsheet to a flat file ... · A guide to converting an Excel spreadsheet to a flat file format for importing into HEPCAT 9 2. All Data Types must

A guide to converting an Excel spreadsheet to a flat file format for importing into HEPCAT

13

The exported file will now be located in the location you chose to export to and ready for loading

into HEPCAT.

Select Close