kalau scriptnya bisa saja disimpan di Module, tapi triger nya dari mana? kecuali ada macro yang sifatnya berlawanan dengan macro autoexec.
Salam, Edi Rosadi http://edirosadie.blogspot.com http://cilegonmap.blogspot.com http://cilegonan.wordpress.com komersilkan blog atau website anda dengan bergabung di sini atau di sini --- On Mon, 10/8/09, him mah <[email protected]> wrote: From: him mah <[email protected]> Subject: Re: [belajar-access] Menghapus Tabel A ketika keluar dari Access To: [email protected] Date: Monday, 10 August, 2009, 2:22 PM misal bukan dari form bisa ngga pak, mungkin rumusnya di taro di module (dan perintah ini akan dijalankan ketika file access ditutup) 2009/8/10 edi rosadi <edirosa...@yahoo. com.sg> 1. buat query delete untuk table A 2. buat even onClose dari form utama Private Sub Form_Close() DoCmd.OpenQuery "namaquery" End Sub Salam, Edi Rosadi http://edirosadie. blogspot. com http://cilegonmap. blogspot. com http://cilegonan. wordpress. com komersilkan blog atau website anda dengan bergabung di sini atau di sini --- On Mon, 10/8/09, him mah <himmah....@gmail. com> wrote: From: him mah <himmah....@gmail. com> Subject: [belajar-access] Menghapus Tabel A ketika keluar dari Access To: "belajar-access" <belajar-access@ yahoogroups. com> Date: Monday, 10 August, 2009, 1:44 PM Ketika kita keluar dari file access maka otomatis akan menghapus isi dari table A, mau minta tolong kodenya seperti apa ya? Importing contacts has never been easier.. Bring your friends over to Yahoo! Mail today! -- New Email names for you! Get the Email name you've always wanted on the new @ymail and @rocketmail. Hurry before someone else does! http://mail.promotions.yahoo.com/newdomains/sg/

