If Not IsNull(DLookup( "[YR]", "tblCars", "[VID]=GetCurrVID()") ) Then
If DLookup("[YR]", "tblCars", "[VID]=GetCurrVID()") Then
Of the above 2 syntax variations, is the 2nd unacceptable? I use the
former because I seem to remember suggestions in this forum that
discouraged the latter. But I tire of it. To me, the latter is more
readily understood because there's no double negative to deal with.
If DLookup("[YR]", "tblCars", "[VID]=GetCurrVID()") Then
Of the above 2 syntax variations, is the 2nd unacceptable? I use the
former because I seem to remember suggestions in this forum that
discouraged the latter. But I tire of it. To me, the latter is more
readily understood because there's no double negative to deal with.
Comment