{{sidenavigation.sidenavigationExpandLabel}}
{{getMsg('Help_YouAreHere')}}: {{page.title}} {{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}} {{helpModel.downloadHelpPdfDataStatus}}

Select statements

The Select statement branches on a given expression value with specified constants and take action according to the first constant to match. The statements in the optional Case Else branch will be executed if none of the specified Case constants matched the expression value.

Usage:

Select Case //(expression)//
	Case constant1
		//(statement)//
	Case constant2
		//(statement)//
	Case Else
		//(statement)//
End Select

Examples:

Select Case {Orders.quantity}
	Case 1 To 7,8,9
 		formula = "less than ten"
	Case 10
		formula = "ten"
	Case 15
		formula = "fifteen"
	Case 20
		formula = "twenty"
	Case Else
		formula = "unknown"
End Select
SEP IT AG
sep.ch verwendet Cookies und ähnliche Technologien, um das Nutzererlebnis auf unserer Webseite zu verbessern und unseren Datenverkehr zu analysieren. Mehr Informationen in unserer Datenschutzerklärung


Help - Select statement (Basic)