LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

bulk insert into ms access database

I am trying to insert a 2d array of data into a MS Access database and the only way i can get it to work is by inserting 1 record at a time which takes a long time to execute

 

is there a way to make a recordset from a 2d array of doubles?

- James

Using LV 2012 on Windows 7 64 bit
0 Kudos
Message 1 of 2
(3,565 Views)
I'd build a SQL query with INSERT statements and execute that.  It'll require you to loop through your array to build the query, but you'll only touch the database once.
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 2 of 2
(3,547 Views)