PC Review


Reply
Thread Tools Rate Thread

Access macro to compact and repair

 
 
Tony O
Guest
Posts: n/a
 
      19th Apr 2011
I have a Microsoft access database that I would like to compact and
repair overnights once a week.
I know that I can use the scheduler in Microsoft.

How do I get Access to run a query within Access unattended? Do I
need to have a macro?
Please advise.
 
Reply With Quote
 
 
 
 
Ken Snell
Guest
Posts: n/a
 
      22nd Apr 2011
Create a macro to do what you want, and name it AutoExec. ACCESS will run
that macro automatically when a datatbase file is opened.

--

Ken Snell
http://www.accessmvp.com/KDSnell/


"Tony O" <(E-Mail Removed)> wrote in message
news:ca874839-ffb0-4fe6-8a27-(E-Mail Removed)...
>I have a Microsoft access database that I would like to compact and
> repair overnights once a week.
> I know that I can use the scheduler in Microsoft.
>
> How do I get Access to run a query within Access unattended? Do I
> need to have a macro?
> Please advise.



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compact and Repair Macro rml Microsoft Access 2 25th Apr 2008 11:04 PM
How to Compact and Repair a DB within a Macro ? =?Utf-8?B?VGhvbWFz?= Microsoft Access Macros 3 27th Dec 2004 01:47 PM
How to Compact and Repair a DB within a Macro ? =?Utf-8?B?VGhvbWFz?= Microsoft Access Queries 2 25th Nov 2004 08:27 AM
Compact and Repair macro Diana Microsoft Access Macros 1 22nd Dec 2003 11:50 PM
Compact & Repair of an Access database via a macro m wark Microsoft Access Macros 1 10th Oct 2003 11:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:42 PM.