.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> Others >> Post New QuestionBookmark and Share Subscribe to Forum

CASE WHEN Statement in MS Access query

Posted By: Dhivakaran     Posted Date: November 08, 2010    Points:2   Category :Others
Hi Friends,

Can anyone expaline about

how to write CASE WHEN Statement in MS Access query

Responses
Author: rinku rambhiya             
Posted Date: November 08, 2010     Points: 5   

You can do it by,

Select Case AnyNum
Case 1 To 10
[Pole] = "North"
Case 11 To 20
[Pole] = "South"
Case 21 To 30
[Pole] = "East"
Case Else
[Pole] = "West"
End Select

Hope this helps



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend