![]() |
Sergey Kornilov admin 1/22/2009 |
You need to rephrase your question. |
E
|
enetsat author 1/24/2009 |
I wanna , disable acount of user the data base use one combo box 'ENABLE' or 'DISABE' |
J
|
Jane 1/27/2009 |
Hi, str = "select active_field frim TableName where UserName='" & username & "' and Password='" & password & "'" Set rstmp = server.CreateObject("ADODB.Recordset") rstmp.open str,dbConnection if rstmp("active_field")="ENABLE" then BeforeLogin = True else BeforeLogin = False end if rstmp.close set rstmp=nothing |
E
|
enetsat author 1/30/2009 |
hello jane |
J
|
Jane 2/3/2009 |
Hi, str = "select ativo from usuarios where nome='" &username & "' and senha='" & password & "'" Set rstmp = server.CreateObject("ADODB.Recordset") rstmp.open str,dbConnection if rstmp("ativo")="ENABLE" then BeforeLogin = True else BeforeLogin = False end if rstmp.close set rstmp=nothing |