Is there anytime that a field which allows nulls would generate an error on the code:
IF myfield.myvalue
The field value can be .T., .F., or null
It is never generating an error, but I have always had the code:
IF (NVL(myfield.myvalue,.F.))
and am wondering if the NVL() is guaranteed to not be necesssary? I have tested the speed difference
and even with over a million records the NVL() speed difference appears negligible. At onetime the
NVL() was added to all fields (all types char, date, log, etc) as a safety check more or less.
TIA,
Tracy
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"