dbTalk Databases Forums  

HOW TO or CASES IN vb script

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss HOW TO or CASES IN vb script in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
RezaA
 
Posts: n/a

Default HOW TO or CASES IN vb script - 04-19-2005 , 05:13 PM






I'd like to OR three cases all together how do you say that in VB script.The
following dosen't work

select case var

case "A","B","C"

case "D"

End select

Thanks



Reply With Quote
  #2  
Old   
M D
 
Posts: n/a

Default Re: HOW TO or CASES IN vb script - 04-19-2005 , 05:50 PM






These guys show no multi-valued syntax
http://www.w3schools.com/vbscript/default.asp

I tried case 3 or 4 and, given 3, it fell through to the default. I
think you have to handle each seperately. At least in the browser.

thx
md

*** Sent via Developersdex http://www.developersdex.com ***

Reply With Quote
Reply




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

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.