06-29-2009 01:06 AM
Solved! Go to Solution.
06-29-2009 01:13 AM
Hi kavi,
this link shows a VB solution.
http://www.vbforums.com/showthread.php?p=2154170#post2154170
Mike
06-29-2009 01:27 AM
HI mike
Thanks for the support u r giving me.
I dont know VB is there is any other solution labview
06-29-2009 02:53 AM
Hi kavi,
attached you'll find an example to create an udl link to your database. You need a template udl file for that, create it it for an existing database. The attached vi, needs this template as an input to copy the file and change the liked mdb.
Hope it helps.
Mike
06-29-2009 03:23 AM
06-29-2009 05:56 AM
06-30-2009 04:59 AM
HI
i already create a mbd using create mdb vi .I attached it.
Then for connecting it to system dsn in ODBC i have to go into control panel ..........and do it. How to do it programatically?
06-30-2009 05:51 AM
Hi kavi,
did you try my solution with the udl file? Where do you have problems with it?
Mike
06-30-2009 06:20 AM
is it a solution for ODBC system dsn link?I cand understand.
I tried ur logic
06-30-2009 07:21 AM
Hi kavi,
the new database path shall contain the path to the database to create not to an udl file. It should be something like "test.mdb". The other path input is the path to the udl template, which will be copied and updated with the new information. The result is the udl file which you need for the "DB Tools Open Connection.vi" to open your new created database.
Mike