• Post Reply Bookmark Topic Watch Topic
  • New Topic

how can i compact msaccess db from java?

 
Shoaib Khanzada
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
I want to compact msaccess db from java code. I am currently using access command line options /compact and executing command Runtime.exec() but it require that access should installed but i dont have access installed on my client machince how can i compact access db then
thanks
 
Aashish Kaushik
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
Compacting a databse like MS-Access utilizes the macros defined in MS-Access so the question of using them without MS-Acess being installed and configured on the M/C doenot arise at all.

Regards,
Aashish
 
Shoaib Khanzada
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and if access is installed then how can i compact my database
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!