I don't think you will get too much help on ActiveX linking to Access
from National Instruments because that would be in direct competition
to the SQL Toolkit.
I tried to do this one time a couple years ago (send data to Access
via Active X from LabVIEW). It is not easy and I was never entirely
successful with it. I could get some information back and forth but
ultimately it was easier just to get the SQL toolkit and send SQL
commands.
The down side to the SQL Toolkit is the licensing costs. NI charges
for run-time licenses for developed SQL applications because SQL
toolkit is licensed from someone else. A couple years ago it was
costing $100/run time license. That is ridiculously high given that
you can buy an entire operating system
for that price.
If your project is a low volume project, i.e. only a few users, then
it may be cheaper to go ahead and buy SQL toolkit. If you are doing a
larger scale project you may want to avoid SQL toolkit and write your
own code or buy a third party solution. You'll have to do the math.
An alternative may be to buy SQL toolkit but create a single network
(TCP/IP socket) based LabVIEW server that in turn is a client to a
relational database via a single license of SQL toolkit. Your
multiple users could send and retrieve information as regular LabVIEW
TCP/IP clients without needing SQL toolkit themselves.
I would be open to learning about this new LabSQL if it is more cost
effective than SQL Toolkit.
Douglas De Clue
LabVIEW developer
ddeclue@bellsouth.net
Dennis Knutson
wrote in message news:<50650000000500000093820000-1023576873000@exchange.ni.com>...
> Instead of ActiveX, I would recomend that you try Jeffrey Travis's
> LabSQL. It is open source and uses ADO to communicate with an ODBC
> database. You'll have to learn SQL in order to use it but I think
> that's a lot better than trying to learn all of the ActiveX commands.
> It is also faster. Plus, if you use ActiveX, you'll have to modify
> your code to work with different versions of Access. the web site is
> jeffreydavis.com.