Guest User

Untitled

a guest
Feb 16th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. Set db = CurrentDb()
  2. Set rs = db.OpenRecordset("Select Status_anggota from Tbl_anggota Where Kode_anggota='" & Text2 & "'")
  3. If rs.RecordCount = "Active" Then
  4. MsgBox "Status is active", vbInformation
  5. Else
  6. MsgBox "Status is not active", vbInformation
  7. End If
Add Comment
Please, Sign In to add comment