Compact local database

Hi,

I have to upgrade the design of mail database to remote users from v4.6 to v6.5. They have a local reply in their workstations and they have the v 6.5.3 of the client.

The problem is that I have to update the ODS too (from 20 to 43) and i don´t know how can i do it automatically

I have think to compact the local database. In a search in the forum, I see the “CompactwithOptions” method in LS, but it can´t compact the database that is open.

The second option (the function @command(CompactDatabaseFile) don´t work!! It say that now can´t compact.

Is there anypeople who it have to made it? How it made it???

Thanks a lot

Subject: Compact local database

Have you tried with the dos command ncompact -c -i ?

The only problem it’s asking for a password you could deploy an id without password for the migration.

Hope it helps.

Subject: RE: Compact local database

Thanks Franck!

Really It´s a possibility, but we need it´s going to be automatic, and we don´t know how to make the remote users to execute a dos command automatically. So, we are searching something that we can apply in a postopen database script

Thanks

Subject: RE: Compact local database

A batch on the logon of the workstation where you are giving the ID file without password in the script.

It can be done so!