Book a Demo

Author Topic: Copy/Paste of columns in data model  (Read 3594 times)

Markus Hofer

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Copy/Paste of columns in data model
« on: April 30, 2009, 11:58:03 pm »
I have to add "standard" columns ( e.g. column for last modification data) to all tables in a data model. To save time I wanted to copy/past the colums from one table to the others. Unfortunately I could not find out how to do this.
Is this not possible or am I missing something?

Markus

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Copy/Paste of columns in data model
« Reply #1 on: May 02, 2009, 01:35:10 am »
Hi Markus,

Yes, you should be able to to do this. There is a bit of a trick involved though.

Find the source table (the one from which you want top copy columns) in the Project Browser. Click the + sign to show the columns (and such). Now highlight the columns you want to copy using click (for the first one) and control-click for the rest.

You should now be able to drag the set of highlighted columns to your target table. Before you drop the columns make sure you see the 'copy' icon (with the plus sign) and not the 'move' icon.

HTH, David

PS: This works for moving features between classes too. [Not surprising, since columns are stereotyped features of tables, which are stereotypes classes.]
No, you can't have it!

Markus Hofer

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Copy/Paste of columns in data model
« Reply #2 on: May 02, 2009, 01:53:45 am »
Hi David

Thank you very much indeed. It works and saved me probably two hours of stupid work. Good to know how to do it.

Markus