Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: VB6
Expertise: beginner
Jul 24, 1999

Quickly copy field attributes when creating tables

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.

Francesco Balena
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date