07-15-2006 09:21 AM
07-17-2006 01:32 PM - edited 07-17-2006 01:32 PM
Hello,
Thank you for posting to the NI Discussion Forums. Are you using the CVI SQL toolkit? It sounds like you are directly communicating to the database using ActiveX. If this is the case, the ActiveX connection handle is the CAObjectHandle which you will use to pass around to the other functions. It is up to the database provider to publish and document the exact ActiveX functions made available. Unfortunately, I don’t know the exact call to make, but if you are unfamiliar with ActiveX in CVI check out this tutorial which will hopefully get you started.
If you are intersted in the SQL toolkit which will make this much easier check out this link.
Hope it helps!
Message Edited by Travis M. on 07-17-2006 01:34 PM
07-20-2006 06:28 AM
07-21-2006 12:55 PM
Good afternoon,
Thanks for the reply with the clarification. It sounds like you are indeed using the low-level ActiveX interface to communicate with your database. The toolkit just provides a clean and easy to use wrapper for the ActiveX calls and doesn’t really add any sort of functionality that you couldn’t implement with these ActiveX calls. It’s certainly not necessary to communicate with databases in CVI. However, the scope of our support is usually limited to our products. Since the provider of your database implements the ActiveX code you are using, support for that interface will come from that particular provider. If you have any questions at all on how to use the ActiveX library functions in CVI to interface with general ActiveX calls please let us know. Most of the material we have related to this is covered in the tutorials provided, but if any of it is unclear we’ll be happy to help.
Thanks again for posting, and I hope that the ActiveX libraries and examples (Help->Find Examples) will provide you with a great wealth of knowledge for the ActiveX capabilities of CVI.
Wishing you well-
07-23-2006 03:33 PM