Under VB6 you can create new SQL Server and Oracle tables - but not MDB tables - without leaving the environment. You only have open the DataView window, right-click on the Tables folder of a database, and select the New Table mennu command.
When working with similar tables, that is tables with many fields in common, you can complete the task in less time by opening the source table in Design mode, highlight the rows corresponding to all the fields that you want to copy, and press Ctrl-C to copy those information into the Clipboard. Then you can open the destination table in design mode, place the cursor where you want the fields to be pasted, and press the Ctrl-V shortcut.
This action copies all the fields, together with their attributes. |
|