AyaNova service management & work order software
AyaNova Support Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Using a batch file to automate re-indexing /... Expand / Collapse
Author
Message
Posted 10/12/2005 2:40:19 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 3/10/2006 1:46:57 PM
Posts: 1, Visits: 12
We currently use a batch file to stop the ARAS service and run backup of the database nightly.  We would like to roll a few more lines into this file to automate the re-indexing utility as well.

Can someone help us with the proper syntax for the commands needed to accomplish this?

L.P. Smith-Black

Post #164
Posted 10/12/2005 3:03:18 PM
AyaNova Sales & Support

AyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & Support

Group: Administrators
Last Login: Yesterday @ 7:45:59 AM
Posts: 1,866, Visits: 4,324
Hello L.P.

Indexing is an internal and highly advanced function of the AyaNova CE program and can not be run externally from the AyaNova program.

But you can utilize a batch file command to compact the AyaNova database if have Access 2000 SP1 or higher and no one is accessing the AyaNova database. Compacting is similar to defragging - it cleans up and shrinks the size of the database depending on how many records have been deleted or edited between compacting.

If you do not have MS Access version 2000 SP1 or higher, do not utilize as older versions of Access can harm the database due to a serious bug.

The command line syntax to use would be:

(path)msaccess.exe (path)scdata.sc /compact

For example, running MS Access 2003 on my local computer to compact the local AyaNova database on my station, the batch file would contain the command line:

"C:\Program Files\Microsoft Office\OFFICE11\msaccess.exe" "C:\Program Files\AyaNova\Database\scdata.sc" /compact

Let us know this works for you and if you have additional questions.

The next version AyaNova will index on the fly  - managers will not need to ensure all users out and than run an indexing feature. Refer to AyaNova v3 (the next generation AyaNova) on this forum site for more information on upcoming features.

AyaNova Sales & Technical Support
http://www.ayanova.com
Post #165
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: AyaNova Sales & Support

Permissions Expand / Collapse

All times are GMT -8:00, Time now is 1:19pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.078. 11 queries. Compression Disabled.