PC Review


Reply
Thread Tools Rate Thread

Re: Programatically creating a table

 
 
Larry Linson
Guest
Posts: n/a
 
      2nd Aug 2003
Even easier than the approaches discussed... make a "template table" (empty,
no data) in your database then use CopyObject to copy the table, fields, and
all their properties to the other DB. An empty table doesn't increase the
size of your database a great deal and it eliminates a lot, really a lot, of
code.

And, of course, you can create those template tables with the visual table
designer.

Larry Linson
Microsoft Access MVP

"Dave" <(E-Mail Removed)> wrote in message
news:0ae601c35752$922fb240$(E-Mail Removed)...
> Hi,
>
> Can anybody suggest a method for creating a table in a
> database programatically from a different database, ie
>
> code in db1 creates a table in db2.
>
> ???
>
> Thanks in advance!
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
programatically creating worksheets =?Utf-8?B?SmFuZXQgUGFuaWdoZXR0aQ==?= Microsoft Excel Discussion 2 21st Feb 2007 12:04 AM
Creating Comment Programatically adp1207 Microsoft Excel Programming 0 16th May 2006 10:58 PM
programatically creating Menus =?Utf-8?B?anVub3NhbXVz?= Microsoft VB .NET 6 22nd Oct 2003 03:27 AM
Re: Programatically creating a table Allen Browne Microsoft Access VBA Modules 4 1st Aug 2003 08:07 AM
Re: Programatically creating a table Marshall Barton Microsoft Access VBA Modules 0 31st Jul 2003 04:17 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:59 PM.