tech on the net
Home About Us Feedback Site Map

Microsoft

Access Excel Word

Database

SQL Oracle / PLSQL SQL Server MySQL MariaDB PostgreSQL

Web Development

HTML CSS Color Picker

Language

C Language

More

ASCII Table Linux UNIX Java Clipart Joke of the Moment

Other Sites

CheckYourMath BigActivities DigMinecraft
Share this page:

MS Access: IsNull Function

Learn how to use the Access IsNull function with syntax and examples.

Description

The Microsoft Access IsNull function returns TRUE if the expression is a null value. Otherwise, it returns FALSE.

Syntax

The syntax for the Microsoft Access IsNull function is:

IsNull ( expression )

Parameters or Arguments

expression is a variant that contains a string or numeric value.

Applies To

The IsNull function can be used in the following versions of Microsoft Access:

Example

IsNull (null) would return TRUE
IsNull ("Tech on the Net") would return FALSE

Example (in VBA Code)

The IsNull function can be used in VBA code in Microsoft Access. For example:

Dim LValue As Boolean

LValue = IsNull("Tech on the Net")

In this example, the variable called LValue would contain FALSE as a value.

Example (in SQL/Queries)

You can also use the IsNull function in a query in Microsoft Access.

Microsoft Access