select case statements in VBA

  • Thread starter Thread starter dave
  • Start date Start date
D

dave

Does anyone know what the SQL Server 2000 equivalent, if
there is any, would be to the Access VBA Select Case
statement? For example code in VBA would be.

Dim SomeVariable As Integer

Select Case SomeVariable
Case 1
'Do this
Case 2
'Do that
Case Else
'Do all
End Select

Thanks, Dave
 
The place to ask a question about T-SQL would be in an SQL Server newsgroup,
not one about DAO and VBA in Microsoft Access. There are a number of
sponsored (look for them at "news.microsoft.com") and USENET newsgroups
devoted to SQL Server.

Larry Linson
Microsoft Access MVP
 
Back
Top