If you were to do a search for database in this forum, you'd find a lot of examples and discussion on the best way to connect. Here's one link that might help if your're using ActiveX - http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000041E0000&USEARCHCONTEXT_CATEGORY_0=_49_%24_6_&USEARCHCONTEXT_CATEGORY_S=0&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&UPostedFromTimeSearchArg_0=22&UPostedFromTimeSearchArg_1=2&UPostedFromTimeSearchArg_2=2001&UPostedFromTimeSearchArg_S=4&UPostedToTimeSearchArg_0=18&UPostedToTimeSearchArg_1=2&UPostedToTimeSearchArg_2=2002&UPostedToTimeSearchArg_S=4&USEARCHCONTEXT_TIER_0=2&USEARCHCONTEXT_TIER_S=0&USEARCHCONTEXT_QUESTION_0=Labview+Connection+to+Access+Database&USEARCHCONTEXT_QUESTION_S=0.
P
ersonally, I'd recomend either NI's Database Connectivity Toolkit or something like LabSQL from Jeffrey Travis (http://www.jeffreytravis.com/lost/). Since ODBC comes with all of the Windows OS's, I think its a lot easier to set up than having to install all of the Access ActiveX components on every PC. I don't have the link, but I remember someone even posting a VI that programmatically created the necessary DSN.