LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Use ADO to access Access97's report In Lab/CVI

Now,I want to use Access97's Reports(of course ,stored
in a .MDB file)in my Lab/cvi Application,I do not intend to design it again in cvi ,How Can I ahieve that?
0 Kudos
Message 1 of 2
(2,990 Views)
Method 1) You can use ADO through ActiveX.
1) Go to Tools->Create ActiveX Controller and create an instrument driver to control "Microsoft ActiveX Data Objects".
2) Use this instrument driver to open your database and read it through ADO. Microsoft documents how to program with ADO through ActiveX so you can consult MSDN and their API documentation for help.

Method 2) Buy the CVI SQL Toolkit. This toolkit can talk to databases through SQL or ADO. This would be an easier way to go, since programming with this toolkit is native to CVI and documented in CVI.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 2
(2,990 Views)