Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > Need help with multiple conditions


Reply
 
Thread Tools Display Modes
  #1  
Old 05-23-2004, 05:22 PM
tinsoilder tinsoilder is offline
Newcomer
 
Join Date: May 2004
Posts: 11
Default Need help with multiple conditions


I want to have a web page open if certain conditons are met. I want it to run if "chkEmployment.Value = 1" and if the variable "min" is equal to 0, 10, 20, 30, 40, or 50. Any help would be apreciated I am a newby so bear with me.
Reply With Quote
  #2  
Old 05-23-2004, 05:45 PM
janaaage's Avatar
janaaage janaaage is offline
Centurion
 
Join Date: Mar 2004
Location: Norway
Posts: 118
Default

Here is one way to do it:
Code:
If chkEmployment.Value = 1 Then Select Case min Case 0, 10, 20, 30, 40, 50 ' Open web page ... End Select End If
__________________
Jan-Åge Johansen
Reply With Quote
  #3  
Old 05-23-2004, 07:44 PM
tinsoilder tinsoilder is offline
Newcomer
 
Join Date: May 2004
Posts: 11
Default

thx Ill try that
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create multiple (but different) records with the same key field chaos_09 Database and Reporting 10 03-09-2004 11:43 PM
On working with multiple worksheets. David Prokopetz Excel 4 02-13-2004 05:33 AM
Multiple conditions to pass a field through in SQL/access database colinuk Database and Reporting 2 10-17-2003 02:01 PM
Multiple .MDF files with 1 table OR 1 with multiple tables? Gary Database and Reporting 1 10-02-2003 04:36 PM
Multiple conditions and executing word document nene Excel 0 05-20-2003 08:23 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->