اذهب الي المحتوي
أوفيسنا

الردود الموصى بها

قام بنشر

If Me.password = DLookup("[password]", "users", " [username]= '" & Me.username & "'") Then
MsgBox "loading"
DoCmd.OpenForm "census"
DoCmd.Close acForm, "login"
Else
MsgBox "incorrect username and password"
End If

قام بنشر (معدل)

ارفق المثال

الكود سليم

If Me.Password = DLookup("[Password]", "user", "[username]= '" & Me.UserName & "'") Then
MsgBox "loading"
DoCmd.OpenForm "census"
DoCmd.Close acForm, "login"
Else
MsgBox "incorrect username and password"
End If

ولكن اظن Password

عبارة محجوزه حاول تغيرها الى Password2

تم تعديل بواسطه مرشدعلي
  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

زائر
اضف رد علي هذا الموضوع....

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • تصفح هذا الموضوع مؤخراً   0 اعضاء متواجدين الان

    • لايوجد اعضاء مسجلون يتصفحون هذه الصفحه
×
×
  • اضف...

Important Information