Access Space Function

Last updated: August 26, 2026.

The Space function returns a string containing a specified number of spaces.

Syntax

Space(number)
ArgumentDescription
numberNumber of spaces to return

Examples

"A" & Space(4) & "B"
Indented: Space(2) & [Label]
FixedWidth: [Code] & Space(10 - Len([Code]))

The number must be non-negative. For reports and forms, use layout controls instead of spaces when visual alignment matters.

See Microsoft’s Access function reference for related expression functions.

admin

admin

Leave a Reply

Your email address will not be published.