|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
heres the thing. i basically have a simple forum, similar to this, where admin users can log in and edit other users. one of the options is to lock a user. you can check a checkbox to lock the user, and it does that, but unchecking it does nothing. i want it so that when i uncheck it, it will unlock the user. in the table, the row is called 'locked' and the datatype is bit, if thats needed. oh yea, im using ASP and VBscript. i been trying to think about this for a while now, any help is much appreciated.
|
|
#2
|
||||
|
||||
|
just run an update after it's unchecked and update the bit field to no.
__________________
Come JOIN the party!!! Quote of the Month: Retirement: Because you've given so much of yourself to the company that you don't have anything left we can use. Questions to Ponder: What do you do when you see an endangered animal eating an endangered plant? iif([sarcasm]=true,iif([you have to ask]=true,"didn't work","ha ha ha"),"not sarcasm") copyright© 2008 sbenj69 |
![]() |
| Viewing: ASP Free Forums > Database > SQL Development > using a check box, even unchecked to pass a value |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|