Skip to Content
Former Member
Aug 04, 2015 at 03:50 PM

Add columns to an existing key using scripting


I am new to PD scripting. I would like to add a new column to an existing key within a table. My code received an exeption message "Object creation can only be done through composition collections (Exception occurred. 0x80020009)."

Would someone post some sample code for me to plagarize? If not for adding a column to a key, something similar. (I have been successful in adding a new column to a table.) Frankly I am clueless how to do it. And I am having difficulty finding document for it.

Thanks for the help in advance.