I need to increment a number if the name field is blank but not if there is a
name already entered. The name field is defined as a 'general' field. I
thought I was on to something with a previous post regarding the IsNull
function (Thanks SusanV). However, it appears I'm getting a true result on
the IsNull test regardless of whether there is data in the field or not.
I've written the code as (D8 is the name field):
If IsNull(D8) Then
Code to increment the number and save goes here
But even when the name is blank (tested with a MsgBox) it's still not
performing the code.
Any help is greatly appreciated.
Bookmarks