Author Topic: Class/Table Preview  (Read 2172 times)

bmains

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Class/Table Preview
« on: November 26, 2007, 10:05:44 am »
Hello,

I don't know if it exists, but it would be nice to see an option called "Preview Element" or something like that, which would open up a new window with a generated table script or code segment.

So again, you could right-click a table, select Preview Element, and it pops up a window, using the specified database in the table, with the generated script for that table.  This could also be done for classes.

Thanks.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Class/Table Preview
« Reply #1 on: November 26, 2007, 10:54:52 am »
There's not really something like that in EA.

However, what you can do is select a single table, then - with the table still selected - choose from the main menu Project | Database Engineering | Generate Package DDL. This will generate the DDL for the selected table only. You can then click the View button on the dialog to see the generated DDL.

There is a caution here: by default EA may use the same output setting as last time you used this dialog. And EA actually writes the file, then opens it in an editor when you ask to view the code. I've occasionally (more often than I care to tell) overwritten my package DDL when previewing a table.

David
No, you can't have it!