MS Access: Cara Menutup Current Form
Yang Sedang Aktif
DoCmd.Close acForm, Me.Name, acSaveNo
You use this (exactly as shown)
DoCmd.Close acForm, Me.Name, acSaveNo
And you should use SAVE NO instead of prompt because this setting has to do with DESIGN changes on the form and has nothing to do with saving records.
Source: Jika Tidak Ada Form Aktif Karena telah ditutup
The problem is that it isn't the active form when you click on another form which has the button. So one way is to have a global variable (declare it in the general declarations section in a STANDARD MODULE like this:
Public strForm As String
And then in the On Activate event of each form (EXCEPT the one you have the button on) you would put the
strForm = Me.Name
and then it would be able to be used as
DoCmd.Close acForm, strForm, acSaveNo
from the code on the button.
Database Training Attendance
Kami bergerak dalam pembuatan Website Kantor, Toko Online, MS Access Database, Desain Grafis (Corel Draw & Photoshop), Gambar Teknik, Video Maker, Penjualan Laptop & PC dan lain-lainya
Terimakasih Atas Kunjungan Anda.
Jasa Pembuatan Database Microsoft Access
(Hubungi WA: +6281277403909)
Database Perpustakaan (Library)
Database Link To File and Folder
Database Training Member
Database Daftar Anggota Koperasi
Daftar Link Ke Postingan Forum Online (Internet)
Daftar Kuis Bank Soal Pokok Bahasan Daftar Pertanyaan Tipe B
Database Daftar Transaksi Keuangan
Database Nomor Kontak
Contoh Pengunaan Query Untuk Menentukan
Ranking Terbanyak
Mahanila Engineering Group. Spesialis Dalam Pembuatan Database Microsoft Access
Promo Sampai Jun 2017
Hubungi Kami:
Mahanila Das - Founder
0812-7740-3909 (HP dan WA)
0819-9109-9321 (HP)
Susanti - Marketing Manager:
0813-8014-2808 (HP)
0819-9108-4996 (HP dan WA)
ini adalah contoh database yang dapat menyimpan ribuan Link ke Files atau Folder dan juga menyimpan Alamat Website
Contoh Desain Sertifikat Dengan Menggunakan Corel Draw.
Mahanila Das - Director
0812-7740-3909 (HP dan WA)
0819-9109-9321 (HP)
Marketing Manager: Susanti
HP
0813-8014-2808 (HP)
0819-9108-4996 (HP dan WA)
Mahanila Engineering Menerima:
Spanduk, Banner, Sertifikat, Poster, Cover Buku dan Majalah, Brosur, Kartu Nama, Undangan, Logo, Bros, Pin, Neon Box, Sticker, Database Ms Access, Website, Blog, Desain Rumah Tinggal, Konstruksi Bangunan
Hubungi:
Mahanila Das (I Wayan Mesra Ariyawan).
HP/WA 0812-7740-3909