bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

MS Access Val() Function

Concept visual

MS Access Val() Function

Pointer walk
two pointers
leftright102132436485116
left=0
right=6
1
3

Start at both ends

Example

Read a string and return the numbers found in the string:

SELECT Val(PostalCode) FROM Customers;

Definition and Usage

The Val() function reads a string and returns the numbers found in the string.

Note:

Formula

This function stops reading once it encounters a NON - numeric character.

Syntax

Val(

string )

Parameter Values

Parameter

Description string

Required. A string expression

Technical Details

Works in:

From Access 2000

Previous

❮ MS Access Functions

Next

Previous

MS Access Sum() Function

Next

MS Access Date() Function