Use Access FindFirst to Find a Null Field in a Form
Question details
Find and move to the first form record where Field1 is Null.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Run a search when a bound form loads or when the user clicks a command button.
- Observed behavior
- The form moves to the first available record whose Field1 value is Null.
Open the form in Design View and confirm that its record source includes Field1. Enable VBA content if prompted, and ensure the form uses a recordset that supports FindFirst.
Run FindFirst from the Access Form's Load Event
Use this method to search for the first Null value when the form opens.
In Access, open the form in Design View. Open the Property Sheet, select the form, and choose the Event tab.
Click the On Load property, choose Event Procedure, and click the ellipsis button to open the VBA editor.
Inside the Form_Load procedure, enter: Me.Recordset.FindFirst "Field1 Is Null"
Save the form, switch to Form View, and check that it moves to the first available record where Field1 is Null.

Run FindFirst from a Command Button
Use a button when the user should decide when to search for a Null value.
Work with Spreadsheet Data in WPS Office
WPS Office is a free, lightweight Office alternative with a familiar interface and support for common Office formats, making spreadsheet-based work easy to move. It does not run Access forms or VBA recordset searches.

Frequently Asked Questions
Why use Is Null instead of = Null?
In Access criteria, use Is Null to test for a missing value. The expression Field1 = Null does not identify Null records.
Does FindFirst also find empty text strings?
No. Is Null finds Null values, not zero-length strings. If you also need empty text, include a separate empty-string condition in the criteria.
How can I tell whether FindFirst found a record?
After running Me.Recordset.FindFirst, check Me.Recordset.NoMatch. It is True if no record matched the criteria.
Why can't FindFirst see a record I know exists?
Check the form's Record Source and any active filter. FindFirst searches the records available in the form's recordset, and Field1 must be included in that recordset.




