From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Compact MS Access mdb?

Hi all,

          In what way we can compact MS access mdb using LabVIEW?. Is there any function in the DB utilities?
 

0 Kudos
Message 1 of 6
(2,991 Views)

"Jothirajalingam_SS" <x@no.email> wrote in message
news:1226554805115-808249@exchange.ni.com...
> Hi all,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In what way
we can compact MS access mdb using LabVIEW?. Is there any function in the DB
utilities?
> &nbsp;

Call this from the command line (with sys exec.vi):

http://www.codetoad.com/vb_compact_db.asp

I haven't tried it, so please let us know how it turns out.

Regards,

Wiebe.


0 Kudos
Message 2 of 6
(2,976 Views)

Hi,

        I tried it. But it is returning some error (i.e no listeners in GPIB). Anyway thanks a lot. 

0 Kudos
Message 3 of 6
(2,957 Views)
Please refer to this link to sort out the error.

http://digital.ni.com/public.nsf/allkb/EA1600EBA422E97286256AA20073C616?OpenDocument

There is a way to give the commands in system exec.vi

Regards,
Pavan
0 Kudos
Message 4 of 6
(2,946 Views)
Hi pavan,
                  That works fine now. Thanks for the link provided. Is it possible to compact Access MDB without any shell commands? so that it works even if Access is not installed in the PC. Thanks once again.
Message 5 of 6
(2,921 Views)
The only way to access mdbs without access is through ADO or DOA. I read
that DAO can do this for MDB's. Both are activex components, ADO is used by
the SQL tooklit and LabSQL, but DAO is intended for M$, so it is less
generic.

I haven't tried this either...

Regards,

Wiebe.


0 Kudos
Message 6 of 6
(2,896 Views)