Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 812
Default Exporting Large Array to Access (2003)

Here is a DAO example:


Private Sub CreateTable()
Dim db As DAO.Database
Dim td As TableDef

Set db = DBEngine.Workspaces(0).OpenDatabase("c:\Temp\MyDb1 .mdb")
Set td = pDB.CreateTableDef("Table1")
With td
'Add fields to database
.Fields.Append .CreateField("ID", dbInteger)
.Fields.Append .CreateField("Name", dbText)
.Fields.Append .CreateField("Points", dbDouble)
db.TableDefs.Append td
End With
Set td = Nothing
Set db = Nothing
End Sub

Hth,
Merjet


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exporting large fields from Lotus approach to Excel [email protected] Excel Discussion (Misc queries) 0 July 28th 08 12:25 PM
Exporting Large Array to Access (2003) merjet Excel Programming 0 March 24th 07 01:00 PM
Transferring Large Amount of Data from Excel 2003 to Access 2003 [email protected] Excel Programming 3 January 12th 07 05:48 PM
Exporting addresses from excel 2003 to outlook 2003 Linda H Excel Discussion (Misc queries) 0 November 14th 05 06:58 PM
exporting excel to csv large fields save as "####" zzapper Excel Discussion (Misc queries) 6 June 25th 05 09:25 PM


All times are GMT +1. The time now is 06:33 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"