Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 2.04 KB

format-function-access-custom-web-app.md

File metadata and controls

53 lines (33 loc) · 2.04 KB
title manager ms.date ms.audience ms.topic ms.assetid description ms.localizationpriority
Format Function (Access custom web app)
kelbow
09/05/2017
Developer
reference
550fc235-f0b9-4d8e-805b-ce467821a8c9
Returns a value formatted according to a specified pattern.
high

Format Function (Access custom web app)

Returns a value formatted according to a specified pattern.

Note

The cloud storage feature described in this article is no longer supported in Office 2013 and Office 2016 and may result in the following error: Sorry, we're having server problems, so we can't add <service> right now. Please try again later. For cloud storage for Office Online, Office for iOS, and Office for Android, look into our Office Cloud Storage Partner Program.

Syntax

Format (Expression, Format)

The Format function contains the following arguments.

Argument name Description
Expression
Expression of a supported data type to format.
Format
A format pattern. The format argument must contain a valid format string, either as a standard format string (for example, "C" or "D"), or as a pattern of custom characters for dates and numeric values (for example, "MMMM dd, yyyy (dddd)"). For more information, see Remarks.

Remarks

For the Format parameter, pass strings that match any of the following patterns:

You cannot use the Format function in the following areas of Access 2013 web apps:

  • Calculated columns at the table level

  • UI macros

  • Expressions in views (for example, in forms)