|
-
May 25th, 2004, 02:40 PM
#1
Thread Starter
New Member
case select problem
can anyone help me with this code...none of the cases are showing true except the CaseElse...Thanks everyone for your help...
Select Case ctime.Text
Case Is > "11:00:00 PM" < "11:59:00 PM"
snowwagerstatussleep.Visible = True
snowwagerstatusawake.Visible = False
Case Is > "5:00:00 PM" < "10:59:59 PM"
snowwagerstatussleep.Visible = False
snowwagerstatusawake.Visible = True
Case Is > "3:00:00 PM" < "4:59:59 PM"
snowwagerstatussleep.Visible = True
snowwagerstatusawake.Visible = False
Case Is > "8:00:00 AM" < "2:59:59 PM"
snowwagerstatussleep.Visible = False
snowwagerstatusawake.Visible = True
Case Is > "7:00:00 AM" < "7:59:59 AM"
snowwagerstatussleep.Visible = True
snowwagerstatusawake.Visible = False
Case Is > "12:00:00 AM" < "6:59:59 AM"
snowwagerstatussleep.Visible = False
snowwagerstatusawake.Visible = True
Case Else
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|