From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

exchanging data between Excel and Access2003

I am doing a project with two function:

1.exporting an excel file with data in accessdatabase(.mdb file) file

2.importing an excel file to update the data in the access database(.mdb file)

 

now I have done the first one.

 

I have no idea with the second one, I can only popup an file select window and select an specified excel file ,than get the filepatch and name ,but  I don't know what to do else...

 

Is anyone good at this?Thank you very much.

 

I use CVI9.0 and sql toolkit 2.1 ,access 2003.

0 Kudos
Message 1 of 2
(3,993 Views)

To read/write data to Excel files CVI offers two instruments: excel2000.fp and excelreport.fp; both are located in <cvidir>\toolslib\activex\excel

The first one is the basic framework with functons to read/write data, call macros and generate graphs, while the latter is built on top of the first one and is aimed to design and populate technical reports on tests.

 

In <cviSamplesDir>\activex\excel you can find some examples on how to use those instruments; some material can be found on the forums as well since several users have posted questions on this subject.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(3,985 Views)