/* */

Friday, April 29, 2011

Re: [belajar-access] Apa pertanyaan ini juga terlewati yaa..??



coba di buat seperti ini,
semoga membantu

If Not V_loginLevel = "Admin"  OR V_loginLevel = "Direktur" Then
MsgBox "Anda Tidak Punya hak akses untuk data ini !!", vbCritical, "Maaf.."
'Cancel = True
DoCmd.CancelEvent
Else
DoCmd.OpenForm "form", acNormal
End If


OR  bisa di ganti AND

selamat mencoba

--- On Fri, 4/29/11, hstod <hstudio7@yahoo.com> wrote:

From: hstod <hstudio7@yahoo.com>
Subject: [belajar-access] Apa pertanyaan ini juga terlewati yaa..??
To: belajar-access@yahoogroups.com
Date: Friday, April 29, 2011, 8:33 AM

 

saya ingin allow 2 user atau lebih untk bisa klik menu ini :

If Not V_loginLevel = "Admin" Then
MsgBox "Anda Tidak Punya hak akses untuk data ini !!", vbCritical, "Maaf.."
'Cancel = True
DoCmd.CancelEvent
Else
DoCmd.OpenForm "form", acNormal
End If

gimana code nya. sy coba pakai or dan and tidak bisa?

pls jangan terlewatkan lagi, sudah cari di inet belum ktemu...

tks



__._,_.___


SPAM IS PROHIBITED



Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

No comments:

Post a Comment