In Microsoft Access, Switch is a very useful and powerful function that allows you to build conditional branching logic into your expressions in queries, forms, and reports. Evaluates a list of expressions and returns a Variant value or an expression associated with the first expression in the list that is True. Variant expression. Compare the IIf (), Choose (), and Switch () functions used in Microsoft Access expressions, and in VBA. VBA in Access is not just a way to repeat database operations or manipulate database objects, but it's a full-fledged programming environment that allows you to. Below are lists of Official and Not So Official Microsoft Access Command-Line Switches. You can include a path, if necessary. Syntax Switch ( expr1, value1, expr2, value2,. expr_n, value_n ) Key expr1,expr2. The expressions to evaluate.
[PDF Version]