Jul 19, 2002 #1 1no7 Technical User Jun 20, 2002 5 GB Hi I keep getting an 'Object Required' error when I use an IF statement to check if a field has a null value. e.g. If strText.value is null then etc.... I'm using Access97 any ideas?
Hi I keep getting an 'Object Required' error when I use an IF statement to check if a field has a null value. e.g. If strText.value is null then etc.... I'm using Access97 any ideas?
Jul 19, 2002 #2 jgoodman00 Programmer Jan 23, 2001 1,510 Yes, the syntax is If IsNull("FieldName" Then James Goodman http://www.james-goodman.co.uk Upvote 0 Downvote
Jul 19, 2002 #3 thornmastr Programmer Feb 2, 2002 1,337 US Or, if nz(strText.value) then Robert Berman Data Base consultant Vulcan Software Services thornmastr@yahoo.com Upvote 0 Downvote
Or, if nz(strText.value) then Robert Berman Data Base consultant Vulcan Software Services thornmastr@yahoo.com