Copy a column

4 posts / 0 new
Last post
Jiyajijp
Offline
Joined: 12/08/2016 - 06:34
Copy a column

Hi Brain,
Can we copy column data (all data in a column) from one IMD file, and paste this column to other IMD file.
Thanks,
Jiyaji

Brian Element's picture
Brian Element
Offline
Joined: 07/11/2012 - 19:57

Hi Jiyaji,

That sounds like a join where you take information from one file and put it in another based on a common key.  Such as having a GL transaction file with a Vendor ID and a vendor file with the Vendor name.  You join on the Vendor ID so that now all the transactions have the vendor name.  Is this what you are looking for or are you thinking of something different?

Thanks

Brian

Jiyajijp
Offline
Joined: 12/08/2016 - 06:34

Brian,
When we are creating a join, then it will create a new sub file. I dont need a sub file. 
Now from that sub file, i need to copy a column and paste to the parent file.

Brian Element's picture
Brian Element
Offline
Joined: 07/11/2012 - 19:57

The only way to add a field to the parent by not creating a new file is to create an IDEAScript to do it.  Maybe what you want to do is perform a join, delete the parent file, rename the sub file the same as the parent and then it becomes the same file with the extra field you want to include.

I am assuming that this information is coming from another file?  Or can your field be created using a virtual field?

Brian