Edit an Import Correspondence File
Overview
We can design a correspondence file to import specific data or do a calculation during the import process.
Use
First, you need to create the temp file during the data import process.
- Open gINT, choose your current library and project files. then go to Add-Ins > Datgel CPT Tool > Data Import
- Select the File Type, raw data, and the Correspondence file.
- Click on Advanced button
- Check the box Create Temp file
- Click execute
- A new window will open.
- Click on Save As and save the file in the desired location
Now, you can use the temp file for the design your corresponding file:
- Open gINT. Go to Data Design | Correspondence Files
- Click on File > Open and open the correspondence file
- Set the Target File as your current project
- Set the Source File as your saved in the previous step Temp File.
- You can write your code on Source Expression for the desired field.
If you want to make a calculation for unit change, an example would be: <<Calc([Source Data]*1000)>>. It will multiply by 1000 the value on import. - Then click on File > Save As, and save the edited correspondence file for use it in the future.
On this page