Kamis, 05 Desember 2013

[MS_AccessPros] Case Statement

 

Question about Case evaluations

I have the Select-Case statement:

Select Case

    Case 1 then do 1

    Case 2 then do 2

    Case 3 then do 3

    Case 4 then do 4

    Case 5 then do 5

    Case Else do 6

End Select

Question is – is each Case evaluated or if Case 2 is true, then Cases 3-5 are not evaluated (even if Case 5 is also true)?

I’ve got a flakey evaluation and need to know if I have to rethink my parameters or order in the Cases

Thanks,

B

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)
Recent Activity:
.

__,_._,___

Tidak ada komentar:

Posting Komentar