Dear all,
I would like to know if it's possible to merge 2 dictionnaries into one (as concat do for files).
Thanks in advance,
Merge 2 dictionnaries
Merge 2 dictionnaries
G.VOLNY, a CSProuser from Haiti, since 2004
Re: Merge 2 dictionnaries
Hi
If both the dictionaries have same ids then it can be done
Just cut and paste the records from the one dictionary to second.
Manoj
If both the dictionaries have same ids then it can be done
Just cut and paste the records from the one dictionary to second.
Manoj
Re: Merge 2 dictionnaries
Thank you Manoj. But i would like to find a way to do it automatically in the event of multiples dictionnaries (as the concat tools do it for severals data file).
Regards,
Regards,
G.VOLNY, a CSProuser from Haiti, since 2004
-
- Posts: 1796
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Merge 2 dictionnaries
There's no way to automatically merge dictionaries because the header information in a dictionary can only appear once. If you concatenated three dictionaries together, you would have three header sections and three ID sections, which would be problematic. You could write code to read dictionaries two, three, etc. and only copy the data that occurs after the first [Record] entry. That would successfully combine dictionaries in most circumstances.